fix: update ControlHints and NavButtons together
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user