improve panel initialization

just make a notify_status_update from printer data, it's much simpler
This commit is contained in:
alfrix
2022-11-29 18:37:06 -03:00
parent 61cf5828e2
commit b1a6d5c182
9 changed files with 22 additions and 58 deletions

View File

@@ -69,7 +69,6 @@ class BedMeshPanel(ScreenPanel):
self.load_meshes()
with contextlib.suppress(KeyError):
self.activate_mesh(self._screen.printer.get_stat("bed_mesh", "profile_name"))
self.process_busy(self._printer.busy)
def activate_mesh(self, profile):
if self.active_mesh is not None: