CAM: fix Custom operation UI panel dropping trailing blank lines
This commit is contained in:
@@ -61,7 +61,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return signals
|
||||
|
||||
def setGCode(self):
|
||||
self.obj.Gcode = self.form.txtGCode.toPlainText().splitlines()
|
||||
self.obj.Gcode = self.form.txtGCode.toPlainText().split("\n")
|
||||
|
||||
|
||||
Command = PathOpGui.SetupOperation(
|
||||
|
||||
Reference in New Issue
Block a user