screen: revert preload, as it may cause unexpected issues
This commit is contained in:
parent
f8da43c379
commit
ed7f266735
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user