From c2187163d8be66f8416e5d22bd3c7687ca7d1c1b Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Fri, 28 Nov 2025 17:22:48 -0300 Subject: [PATCH] fix: do not show bed level when max_deviation is set (#1625) --- screen.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/screen.py b/screen.py index 113587d4..aad0e23b 100755 --- a/screen.py +++ b/screen.py @@ -300,7 +300,7 @@ class KlipperScreen(Gtk.Window): "motion_report": ["live_position", "live_velocity", "live_extruder_velocity"], "exclude_object": ["current_object", "objects", "excluded_objects"], "manual_probe": ['is_active'], - "screws_tilt_adjust": ['results', 'error'], + "screws_tilt_adjust": ['results', 'error', 'max_deviation'], } } for extruder in self.printer.get_tools(): @@ -839,7 +839,8 @@ class KlipperScreen(Gtk.Window): self.printer.process_update(data) if 'manual_probe' in data and data['manual_probe']['is_active'] and 'zcalibrate' not in self._cur_panels: self.show_panel("zcalibrate") - if "screws_tilt_adjust" in data and 'bed_level' not in self._cur_panels: + if ("screws_tilt_adjust" in data and not data['screws_tilt_adjust']['max_deviation'] + and 'bed_level' not in self._cur_panels): self.show_panel("bed_level") elif action == "notify_filelist_changed": if self.files is not None: