gui/osdlang_setup.cpp: revert language selection to old behaviour: close menu after select

This commit is contained in:
[CST] Focus
2014-03-06 11:17:06 +04:00
parent 040b2a958e
commit 793c3aab5a

View File

@@ -76,7 +76,7 @@ int COsdLangSetup::exec(CMenuTarget* parent, const std::string &actionKey)
if (actionKey != "") { if (actionKey != "") {
g_settings.language = actionKey; g_settings.language = actionKey;
g_Locale->loadLocale(g_settings.language.c_str()); g_Locale->loadLocale(g_settings.language.c_str());
return menu_return::RETURN_REPAINT; return menu_return::RETURN_EXIT;
} }
int res = showLocalSetup(); int res = showLocalSetup();