Skip to content

Commit 0515245

Browse files
committed
lists: ACTION_STD_MENU as cancel
Change-Id: I9b05091d7b6fcd2a3b849002190e61a1d9c4fe39
1 parent a1ac68a commit 0515245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/gui/list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ bool simplelist_show_list(struct simplelist_info *info)
921921
gui_synclist_set_nb_items(&lists,
922922
simplelist_line_count*info->selection_size);
923923
}
924-
if (action == ACTION_STD_CANCEL)
924+
if (action == ACTION_STD_CANCEL || action == ACTION_STD_MENU)
925925
{
926926
info->selection = -1;
927927
break;

0 commit comments

Comments
 (0)