diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-04-04 04:37:21 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2021-04-04 11:14:18 +0200 |
commit | 4bc7bafc681fbc9cf046d39aaaac41726f7a5fcd (patch) | |
tree | 022379e25a94b9f89ac0c4766e70e9f838e93f8f /apps/tree.c | |
parent | 4f374b38624e7dca94b4f952fc958d9401081ba1 (diff) | |
download | rockbox-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.c | 12 |
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) | |||
735 | break; | 735 | break; |
736 | #ifdef HAVE_QUICKSCREEN | 736 | #ifdef HAVE_QUICKSCREEN |
737 | case ACTION_STD_QUICKSCREEN: | 737 | case ACTION_STD_QUICKSCREEN: |
738 | /* don't enter f2 from plugin browser */ | 738 | if (global_settings.shortcuts_replaces_qs) |
739 | if (*tc.dirfilter < NUM_FILTER_MODES) | ||
740 | { | 739 | { |
741 | if (global_settings.shortcuts_replaces_qs) | 740 | if (*tc.dirfilter < NUM_FILTER_MODES) |
742 | { | 741 | { |
743 | global_status.last_screen = GO_TO_SHORTCUTMENU; | 742 | global_status.last_screen = GO_TO_SHORTCUTMENU; |
744 | return quick_screen_quick(button); | 743 | return quick_screen_quick(button); |
745 | } | 744 | } |
746 | else if (quick_screen_quick(button)) | 745 | break; |
747 | reload_dir = true; | ||
748 | restore = true; | ||
749 | } | 746 | } |
747 | else if (quick_screen_quick(button)) | ||
748 | reload_dir = true; | ||
749 | restore = true; | ||
750 | break; | 750 | break; |
751 | #endif | 751 | #endif |
752 | 752 | ||