diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index 415e000..98e5ce3 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -532,7 +532,7 @@ public partial class MainForm : Form /// Gets called when user selects a different item from and changes accordingly. private void ProfileDropDownSelectedIndexChanged(object sender, EventArgs e) { - if ((profileDropDown.SelectedIndex == -1) && (!profileDropDown.DataStore.Any())) return; + if ((profileDropDown.SelectedIndex == -1) || (!profileDropDown.DataStore.Any())) return; profileIndex = profileDropDown.SelectedIndex; log.Debug("profileDropDown.SelectedIndex has been changed to " + profileIndex + ".");