summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-10-26 03:05:50 +0200
committerChristian Soffke <christian.soffke@gmail.com>2022-10-25 03:26:51 +0200
commit193ebb5a36374acbe379fe573317f9b668e65e4f (patch)
treec5163b68d97de8d3da4a4ddbf932dd933250c628 /apps/menu.c
parent498988d34a50bb5fe32cf1092f11e3c10a0ac821 (diff)
downloadrockbox-193ebb5a36374acbe379fe573317f9b668e65e4f.tar.gz
rockbox-193ebb5a36374acbe379fe573317f9b668e65e4f.zip
Enable access to Shortcuts Menu from QuickScreen
Offers a quick way of switching to the Shortcuts Menu by pressing the 'context menu' button while QuickScreen is active (e.g. long press Select on iPods and some other players) Change-Id: I38292c7070cf093a81e1db688809b1f0d6a8764a
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 85dac8a214..c86ada1986 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -455,14 +455,13 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
455#ifdef HAVE_QUICKSCREEN 455#ifdef HAVE_QUICKSCREEN
456 else if (action == ACTION_STD_QUICKSCREEN) 456 else if (action == ACTION_STD_QUICKSCREEN)
457 { 457 {
458 if (global_settings.shortcuts_replaces_qs) 458 if (global_settings.shortcuts_replaces_qs ||
459 quick_screen_quick(action) == QUICKSCREEN_GOTO_SHORTCUTS_MENU)
459 { 460 {
460 global_status.last_screen = GO_TO_SHORTCUTMENU; 461 global_status.last_screen = GO_TO_SHORTCUTMENU;
461 ret = quick_screen_quick(action); 462 ret = do_shortcut_menu(NULL);
462 done = true; 463 done = true;
463 } 464 }
464 else
465 quick_screen_quick(action);
466 redraw_lists = true; 465 redraw_lists = true;
467 } 466 }
468#endif 467#endif