Change progress to percentages

CURA-1036
This commit is contained in:
fieldOfView 2016-06-30 09:54:08 +02:00
parent 12dcc43bac
commit 79ee928883

View file

@ -343,7 +343,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
## If progress is 0 add a bit so another print can't be sent. ## If progress is 0 add a bit so another print can't be sent.
if progress == 0: if progress == 0:
progress += 0.001 progress += 0.001
self.setProgress(progress) self.setProgress(progress * 100)
self._updateJobState(json_data["state"]) self._updateJobState(json_data["state"])
self.setTimeElapsed(json_data["time_elapsed"]) self.setTimeElapsed(json_data["time_elapsed"])
self.setTimeTotal(json_data["time_total"]) self.setTimeTotal(json_data["time_total"])