mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge branch 'explorerMerge' of https://github.com/Flow-Launcher/Flow.Launcher into explorerMerge
This commit is contained in:
commit
90f6176d1a
1 changed files with 5 additions and 2 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)
|
||||
|
|
@ -49,7 +49,10 @@ namespace Flow.Launcher.Plugin.Explorer
|
|||
}
|
||||
contextMenus.Add(CreateOpenContainingFolderResult(record));
|
||||
|
||||
contextMenus.Add(CreateOpenWindowsIndexingOptions());
|
||||
if (record.WindowsIndexed)
|
||||
{
|
||||
contextMenus.Add(CreateOpenWindowsIndexingOptions());
|
||||
}
|
||||
|
||||
if (record.ShowIndexState)
|
||||
contextMenus.Add(new Result
|
||||
|
|
|
|||
Loading…
Reference in a new issue