diff options
-rw-r--r-- | desktop-widgets/preferences/preferencesdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp index 141bc1c65..34df09b27 100644 --- a/desktop-widgets/preferences/preferencesdialog.cpp +++ b/desktop-widgets/preferences/preferencesdialog.cpp @@ -124,6 +124,7 @@ void PreferencesDialog::applyRequested(bool closeIt) connect(page, &AbstractPreferencesWidget::settingsChanged, this, &PreferencesDialog::settingsChanged, Qt::UniqueConnection); page->syncSettings(); } + loadPreferences(); //TODO: Move loadPreferences out of qthelper.cpp emit settingsChanged(); if (closeIt) accept(); @@ -143,6 +144,7 @@ void PreferencesDialog::defaultsRequested() Q_FOREACH(AbstractPreferencesWidget *page, pages) { page->refreshSettings(); } + loadPreferences(); //TODO: Move loadPreferences out of qthelper.cpp emit settingsChanged(); accept(); } |