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