pause will auto-open extrude
most (maybe all pauses) are done for filament swaps this should make it quicker
This commit is contained in:
parent
e01b6e5f26
commit
a6866e8a0f
@ -162,7 +162,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
state_callbacks = {
|
state_callbacks = {
|
||||||
"disconnected": self.state_disconnected,
|
"disconnected": self.state_disconnected,
|
||||||
"error": self.state_error,
|
"error": self.state_error,
|
||||||
"paused": self.state_printing,
|
"paused": self.state_paused,
|
||||||
"printing": self.state_printing,
|
"printing": self.state_printing,
|
||||||
"ready": self.state_ready,
|
"ready": self.state_ready,
|
||||||
"startup": self.state_startup,
|
"startup": self.state_startup,
|
||||||
@ -660,6 +660,10 @@ class KlipperScreen(Gtk.Window):
|
|||||||
msg += _("Please recompile and flash the micro-controller.") + "\n"
|
msg += _("Please recompile and flash the micro-controller.") + "\n"
|
||||||
self.printer_initializing(msg + "\n" + state, remove=True)
|
self.printer_initializing(msg + "\n" + state, remove=True)
|
||||||
|
|
||||||
|
def state_paused(self):
|
||||||
|
self.state_printing()
|
||||||
|
self.show_panel("extrude", _("Extrude"))
|
||||||
|
|
||||||
def state_printing(self):
|
def state_printing(self):
|
||||||
self.close_screensaver()
|
self.close_screensaver()
|
||||||
for dialog in self.dialogs:
|
for dialog in self.dialogs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user