Skip to content

Commit a8d6e8d

Browse files
committed
only display quick access list when action keyword is used
1 parent 9fdf220 commit a8d6e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal async Task<List<Result>> SearchAsync(Query query, CancellationToken tok
5050
|| ActionKeywordMatch(query, Settings.ActionKeyword.IndexSearchActionKeyword)
5151
|| ActionKeywordMatch(query, Settings.ActionKeyword.FileContentSearchActionKeyword))
5252
{
53-
if (string.IsNullOrEmpty(query.Search))
53+
if (string.IsNullOrEmpty(query.Search) && ActionKeywordMatch(query, Settings.ActionKeyword.QuickAccessActionKeyword))
5454
return QuickAccess.AccessLinkListAll(query, Settings.QuickAccessLinks);
5555

5656
var quickAccessLinks = QuickAccess.AccessLinkListMatched(query, Settings.QuickAccessLinks);

0 commit comments

Comments
 (0)