Adds option to display open with code for Volume results

This commit is contained in:
Filip Horvat 2022-12-21 18:55:23 +01:00
parent d2970a1f35
commit 277b8e94a6

View file

@ -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)