If a print is completed, it's now also updated in UI

CL-541
This commit is contained in:
Jaime van Kessel 2017-12-15 13:43:19 +01:00
parent d3d9a6e1bb
commit aef54f99db

View file

@ -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]