mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
If a print is completed, it's now also updated in UI
CL-541
This commit is contained in:
parent
d3d9a6e1bb
commit
aef54f99db
1 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||||
|
|
||||||
def _sendNextGcodeLine(self):
|
def _sendNextGcodeLine(self):
|
||||||
if self._gcode_position >= len(self._gcode):
|
if self._gcode_position >= len(self._gcode):
|
||||||
|
self._printers[0].updateActivePrintJob(None)
|
||||||
|
self._is_printing = False
|
||||||
return
|
return
|
||||||
line = self._gcode[self._gcode_position]
|
line = self._gcode[self._gcode_position]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue