- fixed unreliable work of Gerber Editor and optimized the App.editor2object() method

This commit is contained in:
Marius Stanciu
2020-05-24 23:03:27 +03:00
committed by Marius
parent 8165c797a4
commit a6bdf04937
5 changed files with 28 additions and 31 deletions

View File

@@ -3342,9 +3342,11 @@ class FlatCAMExcEditor(QtCore.QObject):
filename=None,
use_thread=False)
except Exception as e:
self.deactivate()
log.error("Error on Edited object creation: %s" % str(e))
return
self.deactivate()
self.app.inform.emit('[success] %s' % _("Excellon editing finished."))
def on_tool_select(self, tool):