mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 21:41:51 +02:00
some UI staff
This commit is contained in:
@@ -20,10 +20,12 @@ namespace WinAlfred.Plugin
|
||||
if (string.IsNullOrEmpty(RawQuery)) return;
|
||||
|
||||
string[] strings = RawQuery.Split(' ');
|
||||
if (strings.Length == 1) return; //we consider a valid query must contain a space
|
||||
|
||||
ActionName = strings[0];
|
||||
if (strings.Length > 1)
|
||||
for (int i = 1; i < strings.Length; i++)
|
||||
{
|
||||
for (int i = 1; i < strings.Length; i++)
|
||||
if (!string.IsNullOrEmpty(strings[i]))
|
||||
{
|
||||
ActionParameters.Add(strings[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user