forked from len0rd/rockbox
fix themes not being fully applied to the menu on load (Hopefully fixes FS#8808)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16819 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
08cabe9169
commit
a53b85a52a
1 changed files with 3 additions and 10 deletions
13
apps/menu.c
13
apps/menu.c
|
|
@ -560,16 +560,9 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
|
||||||
temp->function->param);
|
temp->function->param);
|
||||||
else
|
else
|
||||||
return_value = temp->function->function();
|
return_value = temp->function->function();
|
||||||
|
|
||||||
/* check if a new lang was loaded. IF this isnt done then
|
init_default_menu_viewports(menu_vp, hide_bars);
|
||||||
the title for "General Settings" will be fudged untill
|
init_menu_lists(menu, &lists, selected, true, vps);
|
||||||
the settings menu is exited and reentered */
|
|
||||||
if (temp->flags&MENU_HAS_DESC &&
|
|
||||||
temp->callback_and_desc->desc == ID2P(LANG_LANGUAGE))
|
|
||||||
{
|
|
||||||
init_default_menu_viewports(menu_vp, hide_bars);
|
|
||||||
init_menu_lists(menu, &lists, selected, true, vps);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (temp->flags&MENU_FUNC_CHECK_RETVAL)
|
if (temp->flags&MENU_FUNC_CHECK_RETVAL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue