From a8eb591da5a7bacadf9768883d10483133ad1bd0 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Wed, 8 Oct 2025 19:23:58 +0500 Subject: [PATCH] fix: update ControlHints and NavButtons together Signed-off-by: Boris Yumankulov --- portprotonqt/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/portprotonqt/main_window.py b/portprotonqt/main_window.py index 48b4240..3bde398 100644 --- a/portprotonqt/main_window.py +++ b/portprotonqt/main_window.py @@ -206,6 +206,8 @@ class MainWindow(QMainWindow): self.controlHintsWidget = self.createControlHintsWidget() mainLayout.addWidget(self.controlHintsWidget) + self.updateControlHints() + self.restore_state() self.detail_animations = DetailPageAnimations(self, self.theme) @@ -430,6 +432,7 @@ class MainWindow(QMainWindow): # Update navigation buttons self.updateNavButtons() + @Slot(list) def on_games_loaded(self, games: list[tuple]): self.game_library_manager.set_games(games)