From 596b5b803ecb75864c2221f85b9b8ca0c2399b03 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 13 Jun 2021 17:27:44 +1000 Subject: [PATCH] update logic when content search is global --- .../Views/ActionKeywordSetting.xaml.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs index 5b733fe5c..fe73587c7 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs @@ -67,11 +67,8 @@ namespace Flow.Launcher.Plugin.Explorer.Views } - if (CurrentActionKeyword is - { - Keyword: Query.GlobalPluginWildcardSign, - KeywordProperty: Settings.ActionKeyword.FileContentSearchActionKeyword - }) + if (CurrentActionKeyword.KeywordProperty == Settings.ActionKeyword.FileContentSearchActionKeyword + && ActionKeyword == Query.GlobalPluginWildcardSign) { MessageBox.Show( settingsViewModel.Context.API.GetTranslation("plugin_explorer_globalActionKeywordInvalid"));