From c58673976379953c089340f95c7730e87762199b Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 9 Nov 2007 00:48:18 +0000 Subject: git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15546 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps') 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) temp->function->param); else return_value = temp->function->function(); + + /* check if a new lang was loaded. IF this isnt done then + the title for "General Settings" will be fudged untill + the settings menu is exited and reentered */ + if (temp->flags&MENU_HAS_DESC && + temp->callback_and_desc->desc == ID2P(LANG_LANGUAGE)) + { + init_menu_lists(menu, &lists, selected, true); + } + if (temp->flags&MENU_FUNC_CHECK_RETVAL) { if (return_value == 1) -- cgit v1.2.3