From 8fc7c0ffc1b8570ec7b789b092964cafcd0e3d24 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 4 Apr 2019 01:20:33 +0300 Subject: [PATCH] - fixed the quit action when denying the save, to save the default values and the QSettings --- FlatCAMApp.py | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 6da54c14..3ded1418 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -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: diff --git a/README.md b/README.md index 49fff54a..88581323 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,10 @@ CAD program, and create G-Code for Isolation routing. - fixed plotting in Gerber Editor - working on GUI in Gerber Editor - added a Gcode end_command: default is M02 -- modified the calling of the editor2object() slot function to fix an issue with updating geometry imported from SVG file, after edut +- modified the calling of the editor2object() slot function to fix an issue with updating geometry imported from SVG file, after edit - working on Gerber Editor - added the key shortcuts: wip - made saving of the project file non-blocking and also while saving the project file, if the user tries again to close the app while project file is being saved, the app will close only after saving is complete (the project file size is non zero) +- fixed the quit action when denying the save, to save the default values and the QSettings 31.03.2019