Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
minor fix for persistent options
Browse files Browse the repository at this point in the history
  • Loading branch information
Dyvinia committed Jul 14, 2022
1 parent d5b88d3 commit 58e7167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private void LoadSelections() {
List<RadioButton> radioButtons = new() { EADPlat, EGSPlat, OriginPlat, GlobalPlat };

if (Config.Settings.SelectedGame > -1)
if (Config.Settings.SelectedGame < GameSelectorDropdown.Items.Count - 1)
if (Config.Settings.SelectedGame < GameSelectorDropdown.Items.Count)
GameSelectorDropdown.SelectedIndex = Config.Settings.SelectedGame;

if (Config.Settings.SelectedPlatform > -1)
Expand Down

0 comments on commit 58e7167

Please sign in to comment.