mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Hide openwith editor when editor path is null or empty
This commit is contained in:
parent
a4ca486a6c
commit
724160d2f0
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ namespace Flow.Launcher.Plugin.Explorer
|
|||
var contextMenus = new List<Result>();
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue