mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:19:02 +08:00
If a print is completed, it's now also updated in UI
CL-541
This commit is contained in:
parent
d3d9a6e1bb
commit
aef54f99db
@ -186,6 +186,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||
|
||||
def _sendNextGcodeLine(self):
|
||||
if self._gcode_position >= len(self._gcode):
|
||||
self._printers[0].updateActivePrintJob(None)
|
||||
self._is_printing = False
|
||||
return
|
||||
line = self._gcode[self._gcode_position]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user