From 81e76b1815ac9a1dbcc651236e97df0b7aed594b Mon Sep 17 00:00:00 2001 From: alfrix Date: Mon, 15 Jan 2024 14:42:07 -0300 Subject: [PATCH] extrude: fix activate may not enable buttons --- panels/extrude.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panels/extrude.py b/panels/extrude.py index 87a63a83..dc764c57 100644 --- a/panels/extrude.py +++ b/panels/extrude.py @@ -150,8 +150,7 @@ class Panel(ScreenPanel): self.buttons[button].set_sensitive(enable) def activate(self): - if self._printer.state == "printing": - self.enable_buttons(False) + self.enable_buttons(self._printer.state in ("ready", "paused")) def process_update(self, action, data): if action == "notify_gcode_response":