Merge pull request #3072 from 86Box/tc1995

QT: Fix crash in the first sound card selection.
This commit is contained in:
Miran Grča
2023-02-02 18:05:11 +01:00
committed by GitHub

View File

@@ -237,7 +237,7 @@ SettingsSound::on_comboBoxSoundCard4_currentIndexChanged(int index)
if (index < 0) {
return;
}
ui->pushButtonConfigureSoundCard1->setEnabled(sound_card_has_config(ui->comboBoxSoundCard4->currentData().toInt()));
ui->pushButtonConfigureSoundCard4->setEnabled(sound_card_has_config(ui->comboBoxSoundCard4->currentData().toInt()));
}
void