Skip to content

Commit 596b5b8

Browse files
committed
update logic when content search is global
1 parent 9557d7e commit 596b5b8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,8 @@ private void OnDoneButtonClick(object sender, RoutedEventArgs e)
6767
}
6868

6969

70-
if (CurrentActionKeyword is
71-
{
72-
Keyword: Query.GlobalPluginWildcardSign,
73-
KeywordProperty: Settings.ActionKeyword.FileContentSearchActionKeyword
74-
})
70+
if (CurrentActionKeyword.KeywordProperty == Settings.ActionKeyword.FileContentSearchActionKeyword
71+
&& ActionKeyword == Query.GlobalPluginWildcardSign)
7572
{
7673
MessageBox.Show(
7774
settingsViewModel.Context.API.GetTranslation("plugin_explorer_globalActionKeywordInvalid"));

0 commit comments

Comments
 (0)