splash: hide ready msg while shutdown

This commit is contained in:
alfrix 2022-03-25 12:05:24 -03:00
parent bc366b708d
commit b73292c8f9

View File

@ -777,6 +777,8 @@ class KlipperScreen(Gtk.Window):
self.base_panel.show_macro_shortcut(False)
self.wake_screen()
msg = self.printer.get_stat("webhooks", "state_message")
if "ready" in msg:
msg = ""
self.printer_initializing("<b>" + _("Klipper has shutdown") +
"</b>" + "\n\n" + msg)