- renamed Calibrate Excellon Tool to a simpler Calibrate Tool

- Calibrate Tool - when generating verification GCode it will always load into an Editor from which it can be edited and/or saved. On save the editor will close.
This commit is contained in:
Marius Stanciu
2019-12-07 01:07:52 +02:00
committed by Marius
parent e15c6da086
commit b1d249cff8
10 changed files with 398 additions and 445 deletions

View File

@@ -183,7 +183,7 @@ class TextEditor(QtWidgets.QWidget):
self.code_editor.setPlainText(self.code_edited)
file.close()
def handleSaveGCode(self, name=None, filt=None):
def handleSaveGCode(self, name=None, filt=None, callback=None):
self.app.report_usage("handleSaveGCode()")
if filt:
@@ -235,6 +235,9 @@ class TextEditor(QtWidgets.QWidget):
self.app.file_saved.emit("cncjob", filename)
self.app.inform.emit('%s: %s' % (_("Saved to"), str(filename)))
if callback is not None:
callback()
def handleFindGCode(self):
self.app.report_usage("handleFindGCode()")