Actually use the configuration of the FDC cards when needed.

Should fix unavailable configuration boxes in the 86box settings GUI.
This commit is contained in:
TC1995
2025-06-29 00:07:04 +02:00
parent 5ea9edd6a3
commit c441bb75c5

View File

@@ -243,7 +243,7 @@ SettingsStorageControllers::on_comboBoxFD_currentIndexChanged(int index)
if (index < 0)
return;
ui->pushButtonFD->setEnabled(hdc_has_config(ui->comboBoxFD->currentData().toInt()) > 0);
ui->pushButtonFD->setEnabled(fdc_card_has_config(ui->comboBoxFD->currentData().toInt()) > 0);
}
void