diff --git a/ovos_gui/bus.py b/ovos_gui/bus.py index f19bcb5..ddf3fb9 100644 --- a/ovos_gui/bus.py +++ b/ovos_gui/bus.py @@ -115,7 +115,6 @@ def open(self): """ GUIWebsocketHandler.clients.append(self) LOG.info('New Connection opened!') - self.synchronize() def on_close(self): """ @@ -228,6 +227,9 @@ def on_message(self, message: str): framework = "qt5" LOG.info(f"New connection for framework: {framework}") self._framework = framework + + # sync after we've determined what framework this GUI uses + self.synchronize() else: # message not in spec # https://github.com/MycroftAI/mycroft-gui/blob/master/transportProtocol.md