diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp
index 2cdfc79d..79d98b29 100755
--- a/src/gui/qt/mainwindow/mainwindowimpl.cpp
+++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp
@@ -843,7 +843,7 @@ void mainWindowImpl::callSettingsDialog() {
mySettingsDialog->exec();
- if (mySettingsDialog->getSettingsCorrect()) {
+ if (mySettingsDialog->result() == QDialog::Accepted && mySettingsDialog->getSettingsCorrect()) {
//Toolbox verstecken?
if (myConfig->readConfigInt("ShowLeftToolBox")) { groupBox_LeftToolBox->show(); }
else { groupBox_LeftToolBox->hide(); }
diff --git a/src/gui/qt/settingsdialog.ui b/src/gui/qt/settingsdialog.ui
index 4bed0ecf..c3e7cc5b 100644
--- a/src/gui/qt/settingsdialog.ui
+++ b/src/gui/qt/settingsdialog.ui
@@ -2246,22 +2246,6 @@ p, li { white-space: pre-wrap; }
-
- buttonBox
- rejected()
- settingsDialog
- reject()
-
-
- 340
- 576
-
-
- 286
- 274
-
-
-
listWidget
currentRowChanged(int)
@@ -2310,5 +2294,37 @@ p, li { white-space: pre-wrap; }
+
+ buttonBox
+ accepted()
+ settingsDialog
+ accept()
+
+
+ 471
+ 496
+
+
+ 354
+ 472
+
+
+
+
+ buttonBox
+ rejected()
+ settingsDialog
+ reject()
+
+
+ 559
+ 498
+
+
+ 599
+ 497
+
+
+