summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-10-23 23:57:22 +0200
committerChristian Soffke <christian.soffke@gmail.com>2021-10-30 01:20:35 +0200
commit0b1c05db40505ec2541c151c5a07958d86b7c083 (patch)
tree0612451b574a8c5057cfacc53708eff64fbc256e /apps/gui
parent139d447c6aa80eee07d74839c0fc1d5d06e64f17 (diff)
downloadrockbox-0b1c05db40505ec2541c151c5a07958d86b7c083.tar.gz
rockbox-0b1c05db40505ec2541c151c5a07958d86b7c083.zip
Have ACTION_TREE_ROOT_INIT cause ACTION_STD_MENU
So that a “scroll left” button can be repurposed for returning to the main menu when there is no existing menu button mapping. Change-Id: I38515943313f69cc3241b3f523c94ea012471b88
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 13a850bd7b..640a57fbd3 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -754,7 +754,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
754 if (lists->offset_position[0] == 0) 754 if (lists->offset_position[0] == 0)
755 { 755 {
756 pgleft_allow_cancel = true; 756 pgleft_allow_cancel = true;
757 *actionptr = ACTION_STD_CANCEL; 757 *actionptr = ACTION_STD_MENU;
758 return true; 758 return true;
759 } 759 }
760 *actionptr = ACTION_TREE_PGLEFT; 760 *actionptr = ACTION_TREE_PGLEFT;