- added a message box asking users if they want to save the project in case that either New Project menu entry is clicked or if Exit menu entry is clicked or if the app is closed from the close button. The message box will be showed only if there are objects in the collection.

This commit is contained in:
Marius Stanciu
2019-01-09 20:55:54 +02:00
committed by Marius S
parent 37067b5bff
commit e6b0eb209c
3 changed files with 64 additions and 6 deletions

View File

@@ -803,7 +803,6 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
# self.splitter.sizes()[0] is actually the size of the "notebook"
self.geom_update.emit(grect.x(), grect.y(), grect.width(), grect.height(), self.splitter.sizes()[0])
self.final_save.emit()
QtWidgets.qApp.quit()