From e6b4ec81ff69950e7bb53c985f5e92fbf7470c0a Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Wed, 3 Jun 2026 23:03:53 +0200 Subject: [PATCH] simplelist: support ACTION_TREE_WPS Also enables support for left/right scrolling Change-Id: Ic5888b1f17cca429febdab031e158db88a632a4e --- apps/gui/list.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/gui/list.c b/apps/gui/list.c index ffc8d7d023..3ee56e8008 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -932,7 +932,7 @@ bool simplelist_show_list(struct simplelist_info *info) while(1) { - list_do_action(CONTEXT_LIST, info->timeout, &lists, &action); + list_do_action(CONTEXT_TREE, info->timeout, &lists, &action); /* We must yield in this case or no other thread can run */ if (info->timeout == TIMEOUT_NOBLOCK) @@ -958,6 +958,11 @@ bool simplelist_show_list(struct simplelist_info *info) info->selection = -1; break; } + else if (action == ACTION_TREE_WPS) + { + info->selection = -2; + break; + } else if (action == ACTION_STD_OK) { info->selection = gui_synclist_get_sel_pos(&lists);