summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index fc54b06f33..44af918804 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -738,7 +738,12 @@ static int dirbrowse(void)
/* don't enter f2 from plugin browser */
if (*tc.dirfilter < NUM_FILTER_MODES)
{
- if (quick_screen_quick(button))
+ if (global_settings.shortcuts_replaces_qs)
+ {
+ global_status.last_screen = GO_TO_SHORTCUTMENU;
+ return quick_screen_quick(button);
+ }
+ else if (quick_screen_quick(button))
reload_dir = true;
restore = true;
}