diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-03-07 10:07:49 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-03-07 10:07:49 -0500 |
commit | 9712d375ce31d8394cc30b9121577a7646c1af12 (patch) | |
tree | 15496f9654ae0fbeecb50017d48b34f2f6463216 /apps/tree.c | |
parent | 0dce97372987a0b25446c33c7bfd616780d9d7c0 (diff) | |
download | rockbox-9712d375ce31d8394cc30b9121577a7646c1af12.tar.gz rockbox-9712d375ce31d8394cc30b9121577a7646c1af12.zip |
Shortcuts.c -- Update
Fix returns from shortcuts -- should now run plugins
Fix formatting of file names to remove path from browser shortcuts
Change-Id: I46e337110d04b84bedcb0c2945d5dd29a1860847
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 7 |
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; } |