From 58e71677c73604b3b334a49b6b8bdfda7b9b5263 Mon Sep 17 00:00:00 2001 From: Dyvine57 Date: Thu, 14 Jul 2022 10:05:58 -0400 Subject: [PATCH] minor fix for persistent options --- Windows/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/MainWindow.xaml.cs b/Windows/MainWindow.xaml.cs index bbaf6bc..589f096 100644 --- a/Windows/MainWindow.xaml.cs +++ b/Windows/MainWindow.xaml.cs @@ -360,7 +360,7 @@ private void LoadSelections() { List 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)