Final round of bugfixes

This commit is contained in:
Cacodemon345
2022-02-07 12:16:07 +06:00
parent fdb67ee872
commit 94ce0f9613
2 changed files with 10 additions and 2 deletions

View File

@@ -173,8 +173,8 @@ void SettingsFloppyCDROM::onCDROMRowChanged(const QModelIndex &current) {
if (! match.isEmpty()) {
ui->comboBoxChannel->setCurrentIndex(match.first().row());
}
else ui->comboBoxChannel->setCurrentIndex(8);
ui->comboBoxSpeed->setCurrentIndex(speed - 1);
ui->comboBoxSpeed->setCurrentIndex(speed == 0 ? 7 : speed - 1);
}
void SettingsFloppyCDROM::on_checkBoxTurboTimings_stateChanged(int arg1) {