qt: Default to 0:0 if bus is full

This commit is contained in:
Cacodemon345
2022-03-04 13:26:10 +06:00
parent 40a75379b7
commit 5e4cb50da0

View File

@@ -705,6 +705,7 @@ void HarddiskDialog::on_comboBoxBus_currentIndexChanged(int index) {
break;
}
if (chanIdx == 0xFF) chanIdx = 0;
ui->comboBoxChannel->setCurrentIndex(chanIdx);
}