- 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:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user