Job_status: Fix not changing state if a print is issued during cancelling
This commit is contained in:
parent
de0b6ea435
commit
8e8e23de0f
@ -417,6 +417,8 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.fan = int(round(data['fan']['speed'], 2)*100)
|
||||
self.labels['fan'].set_text("%3d%%" % self.fan)
|
||||
|
||||
if ps['state'] != self.state:
|
||||
self.state_check()
|
||||
if self.state in ["cancelling", "cancelled", "complete", "error"]:
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user