mirror of
https://github.com/86Box/86Box.git
synced 2026-02-21 17:15:32 -07:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user