job_status: fixup progress initialization if restarted during print
This commit is contained in:
1 parent
e3cbc1ea8c
commit
d9a6d0caa6
1 file changed
+2
@@ -674,6 +674,8 @@ class Panel(ScreenPanel):
|
||||
elif filament_time is not None and filament_time > 1:
|
||||
estimated = (filament_time + file_time) / 2
|
||||
estimated = file_time
|
||||
if estimated < 1:
|
||||
return
|
||||
|
||||
self.labels["est_time"].set_label(self.format_time(estimated))
|
||||
self.labels["time_left"].set_label(self.format_eta(estimated, print_duration))
|
||||
|
||||
Reference in new issue
Block a user