From ba9fef5c426a412f2b17cac0ea310b007a02a615 Mon Sep 17 00:00:00 2001 From: Ayla Date: Tue, 12 Apr 2011 13:24:35 +0200 Subject: [PATCH] The locale configuration will now be saved. --- src/gmenu2x.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index 3fbc909..18e0810 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -1122,7 +1122,10 @@ void GMenu2X::options() { if (curMenuClock!=confInt["menuClock"]) setClock(confInt["menuClock"]); if (curGlobalVolume!=confInt["globalVolume"]) setVolume(confInt["globalVolume"]); if (lang == "English") lang = ""; - if (lang != tr.lang()) tr.setLang(lang); + if (lang != tr.lang()) { + tr.setLang(lang); + confStr["lang"] = lang; + } /*if (fileExists(CARD_ROOT) && !showRootFolder) unlink(CARD_ROOT); else if (!fileExists(CARD_ROOT) && showRootFolder)