- in GCode Editor added handlers for the Insert Code buttons

This commit is contained in:
Marius Stanciu
2020-11-07 15:55:06 +02:00
committed by Marius
parent 474bf90bb7
commit 231c033b5e
3 changed files with 19 additions and 9 deletions

View File

@@ -2068,7 +2068,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
self.app.inform.emit('[ERROR_NOTCL] %s %s...' % (_('Failed.'), _('CNC Machine Code could not be updated')))
return
else:
self.source_file = gco
self.source_file = gco.getvalue()
self.app.inform.emit('[success] %s...' % _('CNC Machine Code was updated'))
def gcode_header(self, comment_start_symbol=None, comment_stop_symbol=None):