fixed bug: when new job start, job progress is last 100%.

(cherry picked from commit 200ad3b)
This commit is contained in:
Thomas Hou 2015-07-28 11:51:32 +02:00 committed by Gina Häußge
parent 1f0dbf8f7f
commit 8bbb642a56

View file

@ -389,6 +389,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
self._timeEstimationData = TimeEstimationHelper(rolling_window=rolling_window, threshold=threshold, countdown=countdown)
self._lastProgressReport = None
self._setProgressData(0, None, None, None)
self._setCurrentZ(None)
self._comm.startPrint()