mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix path search logic
open folder in file manager when path search is disabled
This commit is contained in:
parent
0f5b02fa38
commit
9db13fdbb6
1 changed files with 4 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
Action = c =>
|
||||
{
|
||||
// open folder
|
||||
if (c.SpecialKeyState.ToModifierKeys() == (ModifierKeys.Control | ModifierKeys.Shift) || (!Settings.PathSearchKeywordEnabled && !Settings.SearchActionKeywordEnabled))
|
||||
if (c.SpecialKeyState.ToModifierKeys() == (ModifierKeys.Control | ModifierKeys.Shift))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -94,7 +94,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
}
|
||||
}
|
||||
// Open containing folder
|
||||
if (c.SpecialKeyState.ToModifierKeys() == ModifierKeys.Control || (!Settings.PathSearchKeywordEnabled && !Settings.SearchActionKeywordEnabled))
|
||||
if (c.SpecialKeyState.ToModifierKeys() == ModifierKeys.Control)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -108,7 +108,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
}
|
||||
}
|
||||
|
||||
if (Settings.DefaultOpenInFileManager)
|
||||
// If path search is disabled just open it in file manager
|
||||
if (Settings.DefaultOpenInFileManager || (!Settings.PathSearchKeywordEnabled && !Settings.SearchActionKeywordEnabled))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue