- 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)
This commit is contained in:
Marius Stanciu
2019-04-04 00:47:08 +03:00
parent f14246ae6a
commit 8fc916b746
4 changed files with 230 additions and 19 deletions

View File

@@ -1365,7 +1365,7 @@ class FlatCAMGrbEditor(QtCore.QObject):
else:
self.edited_obj_name += "_edit"
self.app.worker_task.emit({'fcn': self.new_edited_excellon,
self.app.worker_task.emit({'fcn': self.new_edited_gerber,
'params': [self.edited_obj_name]})
if self.gerber_obj.slots:
@@ -1403,7 +1403,7 @@ class FlatCAMGrbEditor(QtCore.QObject):
obj.options = {}
return True
def new_edited_excellon(self, outname):
def new_edited_gerber(self, outname):
"""
Creates a new Excellon object for the edited Excellon. Thread-safe.