diff --git a/MPF/Windows/MainWindow.xaml.cs b/MPF/Windows/MainWindow.xaml.cs index 5b5dccb1..3a256079 100644 --- a/MPF/Windows/MainWindow.xaml.cs +++ b/MPF/Windows/MainWindow.xaml.cs @@ -188,7 +188,7 @@ namespace MPF.Windows /// private void DetermineSystemType() { - if (!UIOptions.Options.SkipSystemDetection) + if (!UIOptions.Options.SkipSystemDetection && DriveLetterComboBox.SelectedIndex > -1) { ViewModels.LoggerViewModel.VerboseLog("Trying to detect system for drive {0}.. ", Drives[DriveLetterComboBox.SelectedIndex].Letter); var currentSystem = Validators.GetKnownSystem(Drives[DriveLetterComboBox.SelectedIndex]) ?? Converters.ToKnownSystem(UIOptions.Options.DefaultSystem);