print: Fix error if new print starts while job_status is displayed

This may address some issues in #122
This commit is contained in:
Jordan
2021-05-08 22:24:28 -04:00
parent b27814845b
commit ce8c8e44fc
2 changed files with 24 additions and 15 deletions

View File

@@ -541,6 +541,8 @@ class KlipperScreen(Gtk.Window):
if "job_status" not in self._cur_panels:
self.printer_printing()
else:
self.panels["job_status"].new_print()
def state_ready(self):
if "printer_select" in self._cur_panels: