Update SettingsWindow.cpp

This commit is contained in:
DavidXanatos 2023-07-02 16:47:14 +02:00
parent 40fb7e3f68
commit 7dd578beba
1 changed files with 2 additions and 0 deletions

View File

@ -1052,11 +1052,13 @@ void CSettingsWindow::UpdateUpdater()
{
//ui.radLive->setEnabled(false);
if (!ui.chkAutoUpdate->isChecked()) {
ui.cmbInterval->setEnabled(false);
ui.cmbUpdate->setEnabled(false);
ui.cmbRelease->setEnabled(false);
ui.lblRevision->setText(QString());
}
else {
ui.cmbInterval->setEnabled(true);
if (ui.radStable->isChecked() && (!g_CertInfo.valid || g_CertInfo.expired)) {
ui.cmbUpdate->setEnabled(false);
ui.cmbUpdate->setCurrentIndex(ui.cmbUpdate->findData("ignore"));