QT: Fix crash in the first sound card selection.

This commit is contained in:
TC1995
2023-02-02 17:13:29 +01:00
parent 91b86f1bb8
commit db77b53fc8

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