Job_status: call state_check just before trying to close the panel
This shouldn't be needed but it's a reasonable safeguard
This commit is contained in:
1 parent
d5ab606509
commit
e1877f2c2e
1 file changed
+1
@@ -310,6 +310,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
def close_panel(self, widget=None):
|
||||
logging.debug("Closing job_status panel")
|
||||
self.remove_close_timeout()
|
||||
self.state_check()
|
||||
if self.state not in ["printing", "paused"]:
|
||||
self._screen.printer_ready()
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user