mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add return if no quick access links or query
This commit is contained in:
parent
587bf61253
commit
ff5e3695e9
1 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
&& string.IsNullOrEmpty(query.Search))
|
||||
return quickFolderAccess.FolderListAll(query, settings.QuickFolderAccessLinks, context);
|
||||
|
||||
// No records in QuickFolderAccessLinks, user has not typed any query apart from SearchActionKeyword, no need for further search
|
||||
if (string.IsNullOrEmpty(query.Search))
|
||||
return results;
|
||||
|
||||
var quickFolderLinks = quickFolderAccess.FolderListMatched(query, settings.QuickFolderAccessLinks, context);
|
||||
|
||||
if (quickFolderLinks.Count > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue