summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-04-04 04:37:21 +0200
committerChristian Soffke <christian.soffke@gmail.com>2021-04-04 11:14:18 +0200
commit4bc7bafc681fbc9cf046d39aaaac41726f7a5fcd (patch)
tree022379e25a94b9f89ac0c4766e70e9f838e93f8f /apps/tree.c
parent4f374b38624e7dca94b4f952fc958d9401081ba1 (diff)
downloadrockbox-4bc7bafc681fbc9cf046d39aaaac41726f7a5fcd.tar.gz
rockbox-4bc7bafc681fbc9cf046d39aaaac41726f7a5fcd.zip
Enable QuickScreen in filtered dir modes & playlist viewer
Will allow the QuickScreen to be accessed in the playlist catalogue and when editing a playlist using the playlist viewer. Change-Id: I4b7108db6384eb2077ffdccb2992f2e51a39f42f
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 44af918804..9e4aafccfe 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -735,18 +735,18 @@ static int dirbrowse(void)
break;
#ifdef HAVE_QUICKSCREEN
case ACTION_STD_QUICKSCREEN:
- /* don't enter f2 from plugin browser */
- if (*tc.dirfilter < NUM_FILTER_MODES)
+ if (global_settings.shortcuts_replaces_qs)
{
- if (global_settings.shortcuts_replaces_qs)
+ if (*tc.dirfilter < NUM_FILTER_MODES)
{
global_status.last_screen = GO_TO_SHORTCUTMENU;
return quick_screen_quick(button);
}
- else if (quick_screen_quick(button))
- reload_dir = true;
- restore = true;
+ break;
}
+ else if (quick_screen_quick(button))
+ reload_dir = true;
+ restore = true;
break;
#endif