update logic when content search is global

This commit is contained in:
Jeremy 2021-06-13 17:27:44 +10:00
parent 9557d7ea24
commit 596b5b803e

View file

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