mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
fix a plugin query issue
This commit is contained in:
@@ -248,6 +248,9 @@ namespace Wox.Core.Plugin
|
||||
|
||||
internal static PluginPair GetActionKeywordPlugin(Query query)
|
||||
{
|
||||
//if a query doesn't contain at least one space, it should not be a action keword plugin query
|
||||
if (!query.RawQuery.Contains(" ")) return null;
|
||||
|
||||
PluginPair actionKeywordPluginPair = AllPlugins.FirstOrDefault(o => o.Metadata.ActionKeyword == query.GetActionKeyword());
|
||||
if (actionKeywordPluginPair != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user