Commit 0e35ca6c authored by Jan Grulich's avatar Jan Grulich

Revert "Openconnect: do not reload the auth dialog endlessly when group changes"

This reverts commit 00d18e2d.
parent 73838351
......@@ -469,6 +469,9 @@ void OpenconnectAuthWidget::processAuthForm(struct oc_auth_form *form)
cmb->addItem(QString::fromUtf8(FORMCHOICE(sopt, i)->label), QString::fromUtf8(FORMCHOICE(sopt, i)->name));
if (value == QString::fromUtf8(FORMCHOICE(sopt, i)->name)) {
cmb->setCurrentIndex(i);
if (sopt == AUTHGROUP_OPT(form) && i != AUTHGROUP_SELECTION(form)) {
QTimer::singleShot(0, this, &OpenconnectAuthWidget::formGroupChanged);
}
}
}
if (sopt == AUTHGROUP_OPT(form)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment