From 5fdbc1ffc3c7b161e96e45e2a393eaf7b3bf853f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 20 Sep 2016 12:40:30 -0700 Subject: Language preference: once we figure out the locale, remember it Signed-off-by: Dirk Hohndel --- core/qthelper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 282b0d1b1..ce7bc3e65 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -509,6 +509,7 @@ QString uiLanguage(QLocale *callerLoc) uiLang = languages[2]; else uiLang = languages[0]; + prefs.locale.lang_locale = copy_string(qPrintable(uiLang)); GET_BOOL("time_format_override", time_format_override); GET_BOOL("date_format_override", date_format_override); GET_TXT("time_format", time_format); -- cgit v1.2.3-70-g09d2