- made sure that if the user closes the app with an editor open, before the exit the editor is closed and signals disconnected

This commit is contained in:
Marius Stanciu
2020-06-03 22:47:29 +03:00
committed by Marius
parent bbf878bebb
commit adfd6d40b9
3 changed files with 28 additions and 1 deletions

View File

@@ -3739,7 +3739,6 @@ class FlatCAMGrbEditor(QtCore.QObject):
self.disconnect_canvas_event_handlers()
self.app.ui.grb_edit_toolbar.setDisabled(True)
settings = QSettings("Open Source", "FlatCAM")
self.app.ui.corner_snap_btn.setVisible(False)
self.app.ui.snap_magnet.setVisible(False)