From f94c7d38eba6f26ee1599738db7de12f485d6b18 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sun, 2 Jul 2023 11:31:35 -0300 Subject: [PATCH] fix multiple zcalibrate opening --- screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen.py b/screen.py index 0eebb025..d59ac392 100755 --- a/screen.py +++ b/screen.py @@ -726,7 +726,7 @@ class KlipperScreen(Gtk.Window): self.printer.process_update({'webhooks': {'state': "ready"}}) elif action == "notify_status_update" and self.printer.state != "shutdown": self.printer.process_update(data) - if 'manual_probe' in data and data['manual_probe']['is_active'] and 'zcalibrate' not in self._cur_panels: + if 'manual_probe' in data and data['manual_probe']['is_active'] and 'zoffset' not in self._cur_panels: self.show_panel('zoffset', "zcalibrate", None, 1, False) elif action == "notify_filelist_changed": if self.files is not None: