Update SettingsWindow.cpp
This commit is contained in:
parent
40fb7e3f68
commit
7dd578beba
|
@ -1052,11 +1052,13 @@ void CSettingsWindow::UpdateUpdater()
|
||||||
{
|
{
|
||||||
//ui.radLive->setEnabled(false);
|
//ui.radLive->setEnabled(false);
|
||||||
if (!ui.chkAutoUpdate->isChecked()) {
|
if (!ui.chkAutoUpdate->isChecked()) {
|
||||||
|
ui.cmbInterval->setEnabled(false);
|
||||||
ui.cmbUpdate->setEnabled(false);
|
ui.cmbUpdate->setEnabled(false);
|
||||||
ui.cmbRelease->setEnabled(false);
|
ui.cmbRelease->setEnabled(false);
|
||||||
ui.lblRevision->setText(QString());
|
ui.lblRevision->setText(QString());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
ui.cmbInterval->setEnabled(true);
|
||||||
if (ui.radStable->isChecked() && (!g_CertInfo.valid || g_CertInfo.expired)) {
|
if (ui.radStable->isChecked() && (!g_CertInfo.valid || g_CertInfo.expired)) {
|
||||||
ui.cmbUpdate->setEnabled(false);
|
ui.cmbUpdate->setEnabled(false);
|
||||||
ui.cmbUpdate->setCurrentIndex(ui.cmbUpdate->findData("ignore"));
|
ui.cmbUpdate->setCurrentIndex(ui.cmbUpdate->findData("ignore"));
|
||||||
|
|
Loading…
Reference in New Issue