GameInfo: Enable DLC tab only when the game is installed
This commit is contained in:
parent
5752fefb77
commit
406c018f29
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue