From 0b1c05db40505ec2541c151c5a07958d86b7c083 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sat, 23 Oct 2021 23:57:22 +0200 Subject: [PATCH] Have ACTION_TREE_ROOT_INIT cause ACTION_STD_MENU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/gui/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, if (lists->offset_position[0] == 0) { pgleft_allow_cancel = true; - *actionptr = ACTION_STD_CANCEL; + *actionptr = ACTION_STD_MENU; return true; } *actionptr = ACTION_TREE_PGLEFT;