diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-02 12:50:17 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-02 12:53:47 -0800 |
commit | df7818a9b8495285b4d9812e5d6d50d6f9c08813 (patch) | |
tree | 02377a879039cfce5d15936ac4d147f65c049904 /desktop-widgets/preferences/preferences_language.cpp | |
parent | 9f93b9a934e23be05322ff47a0c6a8fa3b8b3adb (diff) | |
download | subsurface-df7818a9b8495285b4d9812e5d6d50d6f9c08813.tar.gz |
Preferences: make apply work
We didn't respond at all to that button. Also, the language settings
didn't propagate without this explicit call.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_language.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_language.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_language.cpp b/desktop-widgets/preferences/preferences_language.cpp index 1b5ee19a8..31bbd1c20 100644 --- a/desktop-widgets/preferences/preferences_language.cpp +++ b/desktop-widgets/preferences/preferences_language.cpp @@ -1,5 +1,6 @@ #include "preferences_language.h" #include "ui_prefs_language.h" +#include "subsurface-core/helpers.h" #include <QApplication> #include <QSettings> @@ -67,4 +68,5 @@ void PreferencesLanguage::syncSettings() s.setValue("date_format_short", ui->shortDateFormatEntry->text()); } s.endGroup(); + uiLanguage(NULL); } |