qt: Properly display tertiary/quarternary IDE toggle in Settings
This commit is contained in:
@@ -161,6 +161,8 @@ void SettingsStorageControllers::onCurrentMachineChanged(int machineId) {
|
|||||||
int is_at = IS_AT(machineId);
|
int is_at = IS_AT(machineId);
|
||||||
ui->checkBoxTertiaryIDE->setEnabled(is_at > 0);
|
ui->checkBoxTertiaryIDE->setEnabled(is_at > 0);
|
||||||
ui->checkBoxQuaternaryIDE->setEnabled(is_at > 0);
|
ui->checkBoxQuaternaryIDE->setEnabled(is_at > 0);
|
||||||
|
ui->checkBoxTertiaryIDE->setChecked(ui->checkBoxTertiaryIDE->isEnabled() && ide_ter_enabled);
|
||||||
|
ui->checkBoxQuaternaryIDE->setChecked(ui->checkBoxQuaternaryIDE->isEnabled() && ide_ter_enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsStorageControllers::on_comboBoxHD_currentIndexChanged(int index) {
|
void SettingsStorageControllers::on_comboBoxHD_currentIndexChanged(int index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user