summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-30 09:58:40 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-30 09:58:40 -0500
commit2cfe02b94d312f73e1cef41225f12af9f3a96ec1 (patch)
tree71ba179c6298d3f765b7581263c7e50b84ebc2ca
parent0858c27d391dd54b21383050b3c978011f1797e4 (diff)
downloadkcmldap-2cfe02b94d312f73e1cef41225f12af9f3a96ec1.tar.gz
kcmldap-2cfe02b94d312f73e1cef41225f12af9f3a96ec1.zip
Fix bonding wizard activation failure
-rw-r--r--src/bondwizard.cpp5
1 files changed, 5 insertions, 0 deletions
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);
}