Language preference: once we figure out the locale, remember it

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-09-20 12:40:30 -07:00
parent 743f73e4a3
commit 5fdbc1ffc3

View file

@ -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);