File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Plugins/Flow.Launcher.Plugin.Explorer/Search Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- using Flow . Launcher . Plugin . Explorer . Search . DirectoryInfo ;
1
+ using Flow . Launcher . Plugin . Explorer . Search . DirectoryInfo ;
2
2
using Flow . Launcher . Plugin . Explorer . Search . FolderLinks ;
3
3
using Flow . Launcher . Plugin . Explorer . Search . WindowsIndex ;
4
4
using Flow . Launcher . Plugin . SharedCommands ;
@@ -41,9 +41,12 @@ internal List<Result> Search(Query query)
41
41
42
42
if ( quickFolderLinks . Count > 0 )
43
43
results . AddRange ( quickFolderLinks ) ;
44
-
45
- if ( IsFileContentSearch ( query . ActionKeyword ) )
46
- return WindowsIndexFileContentSearch ( query , querySearch ) ;
44
+
45
+ // This allows the user to type the assigned action keyword and only see the list of quick folder links
46
+ if ( settings . QuickFolderAccessLinks . Count > 0
47
+ && query . ActionKeyword == settings . SearchActionKeyword
48
+ && string . IsNullOrEmpty ( query . Search ) )
49
+ return quickFolderAccess . FolderListAll ( query , settings . QuickFolderAccessLinks , context ) ;
47
50
48
51
var isEnvironmentVariable = EnvironmentVariables . IsEnvironmentVariableSearch ( querySearch ) ;
49
52
You can’t perform that action at this time.
0 commit comments