Skip to content

Commit

Permalink
Hide game platform options if the game is installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kzimir committed Apr 14, 2022
1 parent 3816d9f commit 5f75774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minigalaxy/ui/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def button_sensitive(self, game):
elif game.platform in ["windows"]:
self.radiobutton_windows_type.set_active(True)

if "linux" not in self.game.supported_platforms:
if "linux" not in self.game.supported_platforms or game.is_installed():
self.radiobutton_linux_type.hide()
self.radiobutton_windows_type.hide()
self.label_properties_platform.hide()

0 comments on commit 5f75774

Please sign in to comment.