- fixed the quit action when denying the save, to save the default values and the QSettings

This commit is contained in:
Marius Stanciu
2019-04-04 01:20:33 +03:00
parent 8fc916b746
commit 8fc7c0ffc1
2 changed files with 3 additions and 2 deletions

View File

@@ -3190,7 +3190,7 @@ class App(QtCore.QObject):
if response == QtWidgets.QMessageBox.Yes:
self.on_file_saveprojectas(thread=True, quit=True)
elif response == QtWidgets.QMessageBox.No:
QtWidgets.qApp.quit()
self.quit_application()
elif response == QtWidgets.QMessageBox.Cancel:
return
else: