diff --git a/src/onthespot/gui/mainui.py b/src/onthespot/gui/mainui.py index ec3a723..6357385 100644 --- a/src/onthespot/gui/mainui.py +++ b/src/onthespot/gui/mainui.py @@ -65,11 +65,7 @@ def __init__(self, _dialog, start_url=''): self.inp_version.setText(config.get("version")) self.inp_session_uuid.setText(config.session_uuid) logger.info(f"Initialising main window, logging session : {config.session_uuid}") - # Bind button click - self.bind_button_inputs() - self.__users = [] - self.last_search = None # Fill the value from configs logger.info("Loading configurations..") @@ -95,6 +91,12 @@ def __init__(self, _dialog, start_url=''): if config.get('mirror_spotify_playback'): self.mirrorplayback.start() + # Bind button click + self.bind_button_inputs() + + self.__users = [] + self.last_search = None + # Set application theme self.toggle_theme_button.clicked.connect(self.toggle_theme) self.theme = config.get("theme")