diff --git a/panels/bed_mesh.py b/panels/bed_mesh.py index 5e596fd4..fe961aad 100644 --- a/panels/bed_mesh.py +++ b/panels/bed_mesh.py @@ -60,8 +60,8 @@ class Panel(ScreenPanel): def activate(self): self.load_meshes() - if not self._printer.get_stat('bed_mesh', 'profile_name') and 'default' in self.profiles: - self.send_load_mesh(None, 'default') # this is not the default behaviour of klipper anymore + with contextlib.suppress(KeyError): + self.activate_mesh(self._printer.get_stat("bed_mesh", "profile_name")) def activate_mesh(self, profile): if self.active_mesh is not None: