From 428efb1cd0f5c6a29013660e49e7e587e2b45fca Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Sat, 3 Jul 2021 12:43:38 +0800 Subject: [PATCH] fix unexpected empty string --- Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs index f2d1cbe2a..47a5a006c 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs @@ -44,7 +44,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search // one of it is enabled var keyword = Settings.EnabledSearchActionKeyword ? Settings.SearchActionKeyword : Settings.PathSearchActionKeyword; - keyword = keyword == Query.GlobalPluginWildcardSign ? string.Empty : keyword + ""; + keyword = keyword == Query.GlobalPluginWildcardSign ? string.Empty : keyword + " "; string changeTo = path.EndsWith(Constants.DirectorySeperator) ? path : path + Constants.DirectorySeperator; Context.API.ChangeQuery($"{keyword}{changeTo}");