splash: show the message when klipper is shutdown
This commit is contained in:
parent
fa39cb681a
commit
18853a7371
@ -731,7 +731,6 @@ class KlipperScreen(Gtk.Window):
|
|||||||
def state_shutdown(self):
|
def state_shutdown(self):
|
||||||
self.printer.stop_tempstore_updates()
|
self.printer.stop_tempstore_updates()
|
||||||
msg = self.printer.get_stat("webhooks", "state_message")
|
msg = self.printer.get_stat("webhooks", "state_message")
|
||||||
msg = msg if "ready" not in msg else ""
|
|
||||||
self.printer_initializing(_("Klipper has shutdown") + "\n\n" + msg, go_to_splash=True)
|
self.printer_initializing(_("Klipper has shutdown") + "\n\n" + msg, go_to_splash=True)
|
||||||
|
|
||||||
def toggle_shortcut(self, show):
|
def toggle_shortcut(self, show):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user