dont redraw the menu if we are about to quit anyway (noticable when backing out of the playlist menu from the wps context menu)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14180 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-08-04 09:47:17 +00:00
parent 88882a83d6
commit 75e2f19de3

View file

@ -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);