mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
Don't disable firmware settings controls when override external firmware
settings is disabled
This commit is contained in:
parent
837a582087
commit
d31eabb6fa
@ -72,8 +72,6 @@ FirmwareSettingsDialog::FirmwareSettingsDialog(QWidget* parent) : QDialog(parent
|
||||
|
||||
ui->txtMAC->setText(firmcfg.GetQString("MAC"));
|
||||
|
||||
on_overrideFirmwareBox_toggled();
|
||||
|
||||
int inst = emuInstance->getInstanceID();
|
||||
if (inst > 0)
|
||||
ui->lblInstanceNum->setText(QString("Configuring settings for instance %1").arg(inst+1));
|
||||
@ -225,10 +223,3 @@ void FirmwareSettingsDialog::on_cbxBirthdayMonth_currentIndexChanged(int idx)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void FirmwareSettingsDialog::on_overrideFirmwareBox_toggled()
|
||||
{
|
||||
bool disable = !ui->overrideFirmwareBox->isChecked();
|
||||
ui->grpUserSettings->setDisabled(disable);
|
||||
ui->grpWifiSettings->setDisabled(disable);
|
||||
}
|
||||
|
@ -125,7 +125,6 @@ private slots:
|
||||
void done(int r);
|
||||
|
||||
void on_cbxBirthdayMonth_currentIndexChanged(int idx);
|
||||
void on_overrideFirmwareBox_toggled();
|
||||
|
||||
private:
|
||||
bool verifyMAC();
|
||||
|
Loading…
Reference in New Issue
Block a user