same as previous commit, but more forgotten cases

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13850 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-07-11 04:17:43 +00:00
parent 953e7cf183
commit 50dc0cabe3

View file

@ -506,6 +506,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
#endif #endif
selected = get_menu_selection(gui_synclist_get_sel_pos(&lists), menu); selected = get_menu_selection(gui_synclist_get_sel_pos(&lists), menu);
temp = menu->submenus[selected]; temp = menu->submenus[selected];
redraw_lists = true;
if (in_stringlist) if (in_stringlist)
type = (menu->flags&MENU_TYPE_MASK); type = (menu->flags&MENU_TYPE_MASK);
else else
@ -528,6 +529,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
menu_stack_selected_item[stack_top] = selected; menu_stack_selected_item[stack_top] = selected;
stack_top++; stack_top++;
init_menu_lists(temp, &lists, 0, true); init_menu_lists(temp, &lists, 0, true);
redraw_lists = false; /* above does the redraw */
menu = temp; menu = temp;
talk_item = true; talk_item = true;
} }
@ -555,8 +557,11 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
case MT_SETTING: case MT_SETTING:
case MT_SETTING_W_TEXT: case MT_SETTING_W_TEXT:
{ {
do_setting_from_menu(temp); if (do_setting_from_menu(temp))
init_menu_lists(menu, &lists, selected, true); {
init_menu_lists(menu, &lists, selected, true);
redraw_lists = false; /* above does the redraw */
}
talk_item = true; talk_item = true;
break; break;
} }
@ -574,6 +579,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
stack_top++; stack_top++;
menu = temp; menu = temp;
init_menu_lists(menu,&lists,0,false); init_menu_lists(menu,&lists,0,false);
redraw_lists = false; /* above does the redraw */
talk_item = true; talk_item = true;
in_stringlist = true; in_stringlist = true;
} }