summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 0b6be4c706..d690a2dcb0 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -385,7 +385,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
menu = menu_stack[stack_top];
if (menu->flags&MENU_EXITAFTERTHISMENU)
done = true;
- init_menu_lists(menu, &lists,
+ else
+ init_menu_lists(menu, &lists,
menu_stack_selected_item[stack_top], false);
/* new menu, so reload the callback */
get_menu_callback(menu, &menu_callback);