1
0
Fork 0
mirror of synced 2024-09-29 17:02:20 +13:00

GameInfo: Enable DLC tab only when the game is installed

This commit is contained in:
loathingKernel 2023-01-28 03:02:39 +02:00
parent 5752fefb77
commit 406c018f29

View file

@ -46,7 +46,7 @@ class GameInfoTabs(SideTabWidget):
self.settings_tab.setEnabled(rgame.is_installed)
self.dlc_tab.update_dlcs(rgame)
self.dlc_tab.setEnabled(bool(rgame.owned_dlcs))
self.dlc_tab.setEnabled(rgame.is_installed and rgame.owned_dlcs)
if self.args.debug:
self.game_meta_view.update_game(rgame, rgame.game)