Skip to content

Commit 69f5851

Browse files
committed
update revert to global wildcard logic
1 parent 596b5b8 commit 69f5851

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,11 @@ private void OnDoneButtonClick(object sender, RoutedEventArgs e)
7878

7979
var oldActionKeyword = CurrentActionKeyword.Keyword;
8080

81-
8281
// == because of nullable
8382
if (Enabled == false || !settingsViewModel.IsActionKeywordAlreadyAssigned(ActionKeyword))
8483
{
8584
// Update View Data
86-
CurrentActionKeyword.Keyword = ActionKeyword;
85+
CurrentActionKeyword.Keyword = Enabled == true ? ActionKeyword : Query.GlobalPluginWildcardSign;
8786
CurrentActionKeyword.Enabled = Enabled;
8887

8988
switch (Enabled)

0 commit comments

Comments
 (0)