mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Remove saveGCode method
This commit is contained in:
parent
36a2735c5c
commit
aa1889754e
1 changed files with 0 additions and 10 deletions
|
@ -115,16 +115,6 @@ class PrinterApplication(QtApplication):
|
|||
if self.getController().getActiveTool():
|
||||
self.getController().setActiveTool(None)
|
||||
|
||||
@pyqtSlot(QUrl)
|
||||
def saveGCode(self, file):
|
||||
try:
|
||||
gcode = self.getController().getScene().gcode
|
||||
except AttributeError:
|
||||
return
|
||||
|
||||
with open(file.toLocalFile(), 'w') as f:
|
||||
f.write(gcode)
|
||||
|
||||
requestAddPrinter = pyqtSignal()
|
||||
|
||||
def _onActiveMachineChanged(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue