mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add empty actionParameters check (#148)
This commit is contained in:
parent
e5cc2ccaab
commit
8ec78688b8
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ namespace Wox.Core.Plugin
|
|||
{ // use non global plugin for query
|
||||
actionKeyword = possibleActionKeyword;
|
||||
actionParameters = terms.Skip(1).ToList();
|
||||
search = rawQuery.Substring(actionKeyword.Length + 1);
|
||||
search = actionParameters.Count > 0 ? rawQuery.Substring(actionKeyword.Length + 1) : string.Empty;
|
||||
}
|
||||
else
|
||||
{ // non action keyword
|
||||
|
|
|
|||
Loading…
Reference in a new issue