Diffstat (limited to 'noncore/settings/language/language.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/language/language.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/language/language.cpp b/noncore/settings/language/language.cpp index 8985fd5..d30a041 100644 --- a/noncore/settings/language/language.cpp +++ b/noncore/settings/language/language.cpp @@ -114,11 +114,11 @@ void LanguageSettings::reset() QString l = getenv("LANG"); Config config("locale"); config.setGroup("Language"); l = config.readEntry( "Language", l ); + actualLanguage = l; if (l.isEmpty()) l = "en"; - actualLanguage = l; int n = langAvail.find( l ); languages->setCurrentItem( n ); } |