Skip to content

Commit 277b8e9

Browse files
committed
Adds option to display open with code for Volume results
1 parent d2970a1 commit 277b8e9

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
@@ -42,7 +42,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
4242
if (record.Type == ResultType.File && !string.IsNullOrEmpty(Settings.EditorPath))
4343
contextMenus.Add(CreateOpenWithEditorResult(record, Settings.EditorPath));
4444

45-
if (record.Type == ResultType.Folder && !string.IsNullOrEmpty(Settings.FolderEditorPath))
45+
if ((record.Type == ResultType.Folder || record.Type == ResultType.Volume) && !string.IsNullOrEmpty(Settings.FolderEditorPath))
4646
contextMenus.Add(CreateOpenWithEditorResult(record, Settings.FolderEditorPath));
4747

4848
if (record.Type == ResultType.Folder)

0 commit comments

Comments
 (0)