Merge pull request #6808 from chungy/floppy-type-ui

Qt: Always change floppy type's first column on changing type
This commit is contained in:
Miran Grča
2026-02-12 23:24:48 +01:00
committed by GitHub

View File

@@ -434,7 +434,8 @@ void
SettingsFloppyCDROM::on_comboBoxFloppyType_activated(int index)
{
auto currentIndex = ui->tableViewFloppy->selectionModel()->currentIndex();
setFloppyType(ui->tableViewFloppy->model(), currentIndex, index);
auto typeIndex = currentIndex.siblingAtColumn(0);
setFloppyType(ui->tableViewFloppy->model(), typeIndex, index);
// Trigger row changed to rebuild audio profile list
onFloppyRowChanged(currentIndex);