fix: disable account override if no account selected
Signed-off-by: Lenny McLennington <lenny@sneed.church>
This commit is contained in:
parent
de1de47940
commit
462e0ef56d
@ -416,6 +416,11 @@ void InstanceSettingsPage::loadSettings()
|
||||
ui->accountComboBox->addItem(tr("No accounts available"));
|
||||
ui->accountComboBox->setDisabled(true);
|
||||
}
|
||||
|
||||
// If there isn't a currently selected account, the override should show as disabled
|
||||
if (ui->accountComboBox->currentIndex() == -1) {
|
||||
ui->accountGroupBox->setChecked(false);
|
||||
}
|
||||
}
|
||||
|
||||
void InstanceSettingsPage::on_javaDetectBtn_clicked()
|
||||
|
Loading…
Reference in New Issue
Block a user