mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +08:00
Change progress to percentages
CURA-1036
This commit is contained in:
parent
12dcc43bac
commit
79ee928883
@ -343,7 +343,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
## If progress is 0 add a bit so another print can't be sent.
|
||||
if progress == 0:
|
||||
progress += 0.001
|
||||
self.setProgress(progress)
|
||||
self.setProgress(progress * 100)
|
||||
self._updateJobState(json_data["state"])
|
||||
self.setTimeElapsed(json_data["time_elapsed"])
|
||||
self.setTimeTotal(json_data["time_total"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user