fix bug:103784

This commit is contained in:
jzxc95 2022-03-15 11:16:55 +08:00
parent f39ee81f18
commit 33407f5a3a
1 changed files with 2 additions and 2 deletions

View File

@ -226,11 +226,11 @@ void SecurityPage::setTlsInfo(KyEapMethodTlsInfo &info)
domainEdit->setText(info.domain); domainEdit->setText(info.domain);
if (info.caCertPath.isEmpty()) { if (info.caCertPath.isEmpty()) {
caCertPathCombox->setItemText(0, QString(tr("None"))); caCertPathCombox->setItemText(0, QString(tr("None")));
caNeedBox->setChecked(false); caNeedBox->setChecked(true);
caCertPathCombox->setEnabled(false); caCertPathCombox->setEnabled(false);
} else { } else {
caCertPathCombox->setItemText(0, info.caCertPath); caCertPathCombox->setItemText(0, info.caCertPath);
caNeedBox->setChecked(true); caNeedBox->setChecked(false);
caCertPathCombox->setEnabled(true); caCertPathCombox->setEnabled(true);
} }