screen: revert preload, as it may cause unexpected issues

This commit is contained in:
alfrix committed 2023-09-10 18:31:30 -03:00
1 parent f8da43c379
commit ed7f266735
1 file changed
-7
-7
View File
@@ -259,12 +259,6 @@ class KlipperScreen(Gtk.Window):
self._ws.klippy.object_subscription(requested_updates)
def preload(self):
logging.debug("Preloading panels")
for panel in ['move', 'temperature', 'extrude', 'job_status']:
self.panels[panel] = self._load_panel(panel).Panel(self, title='')
self.panels_reinit.append(panel)
@staticmethod
def _load_panel(panel):
logging.debug(f"Loading panel: {panel}")
@@ -922,7 +916,6 @@ class KlipperScreen(Gtk.Window):
self.reinit_count = 0
self.initializing = False
self.printer.process_update(data['result']['status'])
self.preload()
return False
def init_tempstore(self):