Skip to content

Commit 724160d

Browse files
Hide openwith editor when editor path is null or empty
1 parent a4ca486 commit 724160d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
3939
var contextMenus = new List<Result>();
4040
if (selectedResult.ContextData is SearchResult record)
4141
{
42-
if (record.Type == ResultType.File)
42+
if (record.Type == ResultType.File && !string.IsNullOrEmpty(Settings.EditorPath))
4343
contextMenus.Add(CreateOpenWithEditorResult(record));
4444

4545
if (record.Type == ResultType.Folder && record.WindowsIndexed)

0 commit comments

Comments
 (0)