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()
|
self.controlHintsWidget = self.createControlHintsWidget()
|
||||||
mainLayout.addWidget(self.controlHintsWidget)
|
mainLayout.addWidget(self.controlHintsWidget)
|
||||||
|
|
||||||
|
self.updateControlHints()
|
||||||
|
|
||||||
self.restore_state()
|
self.restore_state()
|
||||||
|
|
||||||
self.detail_animations = DetailPageAnimations(self, self.theme)
|
self.detail_animations = DetailPageAnimations(self, self.theme)
|
||||||
@@ -430,6 +432,7 @@ class MainWindow(QMainWindow):
|
|||||||
# Update navigation buttons
|
# Update navigation buttons
|
||||||
self.updateNavButtons()
|
self.updateNavButtons()
|
||||||
|
|
||||||
|
|
||||||
@Slot(list)
|
@Slot(list)
|
||||||
def on_games_loaded(self, games: list[tuple]):
|
def on_games_loaded(self, games: list[tuple]):
|
||||||
self.game_library_manager.set_games(games)
|
self.game_library_manager.set_games(games)
|
||||||
|
Reference in New Issue
Block a user