diff options
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c index c8fc5f6264..75f62565ca 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -482,6 +482,16 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected) | |||
482 | temp->function->param); | 482 | temp->function->param); |
483 | else | 483 | else |
484 | return_value = temp->function->function(); | 484 | return_value = temp->function->function(); |
485 | |||
486 | /* check if a new lang was loaded. IF this isnt done then | ||
487 | the title for "General Settings" will be fudged untill | ||
488 | the settings menu is exited and reentered */ | ||
489 | if (temp->flags&MENU_HAS_DESC && | ||
490 | temp->callback_and_desc->desc == ID2P(LANG_LANGUAGE)) | ||
491 | { | ||
492 | init_menu_lists(menu, &lists, selected, true); | ||
493 | } | ||
494 | |||
485 | if (temp->flags&MENU_FUNC_CHECK_RETVAL) | 495 | if (temp->flags&MENU_FUNC_CHECK_RETVAL) |
486 | { | 496 | { |
487 | if (return_value == 1) | 497 | if (return_value == 1) |