MKE CD-ROM: Fix disc change detection, move model selection to CD-ROM type, and properly implement support for the up to 4 drives supported by the controller.
This commit is contained in:
@@ -140,14 +140,13 @@ SettingsInput::onCurrentMachineChanged(int machineId)
|
||||
c++;
|
||||
}
|
||||
keyboardModel->removeRows(0, removeRows);
|
||||
ui->comboBoxKeyboard->setCurrentIndex(selectedRow);
|
||||
|
||||
if ((c == 1) || has_int_kbd)
|
||||
ui->comboBoxKeyboard->setEnabled(false);
|
||||
else
|
||||
ui->comboBoxKeyboard->setEnabled(true);
|
||||
|
||||
ui->comboBoxKeyboard->setCurrentIndex(selectedRow);
|
||||
|
||||
auto *mouseModel = ui->comboBoxMouse->model();
|
||||
removeRows = mouseModel->rowCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user