Skip to content

Commit

Permalink
fix: Resolution handling when index is 0 (#64)
Browse files Browse the repository at this point in the history
Oops :-)
  • Loading branch information
matatk authored Jan 9, 2021
1 parent 7bbd102 commit 4d6902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audioquake/launcherlib/ui/tabs/customise.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, parent, game_controller):
pick_res = wx.Choice(self, -1, choices=RESOLUTIONS)

index, _ = resolution_index_from_config()
if index:
if index >= 0:
pick_res.SetSelection(index)
else:
pick_res.Disable()
Expand Down

0 comments on commit 4d6902c

Please sign in to comment.