From 2cfe02b94d312f73e1cef41225f12af9f3a96ec1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 30 Apr 2013 09:58:40 -0500 Subject: [PATCH] Fix bonding wizard activation failure --- src/bondwizard.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bondwizard.cpp b/src/bondwizard.cpp index 9d187ae..757fa71 100644 --- a/src/bondwizard.cpp +++ b/src/bondwizard.cpp @@ -203,6 +203,11 @@ void BondWizard::accept(){ finishpage->setEnabled(false); if (LDAPManager::bondRealm(finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) { + m_finalRealm.bonded = true; + if (m_realmList->contains(m_finalRealm.name)) { + m_realmList->remove(m_finalRealm.name); + } + m_realmList->insert(m_finalRealm.name, m_finalRealm); m_ldapConfig->save(); done(0); }