From 69f58518b2685a3d96b347015c6919bb1c838d24 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 13 Jun 2021 17:41:44 +1000 Subject: [PATCH] update revert to global wildcard logic --- .../Views/ActionKeywordSetting.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs index fe73587c7..9d7f08e69 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs @@ -78,12 +78,11 @@ namespace Flow.Launcher.Plugin.Explorer.Views var oldActionKeyword = CurrentActionKeyword.Keyword; - // == because of nullable if (Enabled == false || !settingsViewModel.IsActionKeywordAlreadyAssigned(ActionKeyword)) { // Update View Data - CurrentActionKeyword.Keyword = ActionKeyword; + CurrentActionKeyword.Keyword = Enabled == true ? ActionKeyword : Query.GlobalPluginWildcardSign; CurrentActionKeyword.Enabled = Enabled; switch (Enabled)