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"));