From 277b8e94a63150db9b5d604cc7a765ec3eedd1cf Mon Sep 17 00:00:00 2001 From: Filip Horvat Date: Wed, 21 Dec 2022 18:55:23 +0100 Subject: [PATCH] Adds option to display open with code for Volume results --- Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs index 684a10f59..2675d857e 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs @@ -42,7 +42,7 @@ namespace Flow.Launcher.Plugin.Explorer if (record.Type == ResultType.File && !string.IsNullOrEmpty(Settings.EditorPath)) contextMenus.Add(CreateOpenWithEditorResult(record, Settings.EditorPath)); - if (record.Type == ResultType.Folder && !string.IsNullOrEmpty(Settings.FolderEditorPath)) + if ((record.Type == ResultType.Folder || record.Type == ResultType.Volume) && !string.IsNullOrEmpty(Settings.FolderEditorPath)) contextMenus.Add(CreateOpenWithEditorResult(record, Settings.FolderEditorPath)); if (record.Type == ResultType.Folder)