diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs index 590d659a8..efb3fd0ae 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs @@ -39,7 +39,7 @@ namespace Flow.Launcher.Plugin.Explorer var contextMenus = new List(); if (selectedResult.ContextData is SearchResult record) { - if (record.Type == ResultType.File) + if (record.Type == ResultType.File && !string.IsNullOrEmpty(Settings.EditorPath)) contextMenus.Add(CreateOpenWithEditorResult(record)); if (record.Type == ResultType.Folder && record.WindowsIndexed) @@ -49,7 +49,10 @@ namespace Flow.Launcher.Plugin.Explorer } contextMenus.Add(CreateOpenContainingFolderResult(record)); - contextMenus.Add(CreateOpenWindowsIndexingOptions()); + if (record.WindowsIndexed) + { + contextMenus.Add(CreateOpenWindowsIndexingOptions()); + } if (record.ShowIndexState) contextMenus.Add(new Result