File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
39
39
var contextMenus = new List < Result > ( ) ;
40
40
if ( selectedResult . ContextData is SearchResult record )
41
41
{
42
- if ( record . Type == ResultType . File )
42
+ if ( record . Type == ResultType . File && ! string . IsNullOrEmpty ( Settings . EditorPath ) )
43
43
contextMenus . Add ( CreateOpenWithEditorResult ( record ) ) ;
44
44
45
45
if ( record . Type == ResultType . Folder && record . WindowsIndexed )
@@ -49,7 +49,10 @@ public List<Result> LoadContextMenus(Result selectedResult)
49
49
}
50
50
contextMenus . Add ( CreateOpenContainingFolderResult ( record ) ) ;
51
51
52
- contextMenus . Add ( CreateOpenWindowsIndexingOptions ( ) ) ;
52
+ if ( record . WindowsIndexed )
53
+ {
54
+ contextMenus . Add ( CreateOpenWindowsIndexingOptions ( ) ) ;
55
+ }
53
56
54
57
if ( record . ShowIndexState )
55
58
contextMenus . Add ( new Result
You can’t perform that action at this time.
0 commit comments