diff options
author | Timothy Pearson <[email protected]> | 2012-06-03 00:03:24 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-03 00:03:24 -0500 |
commit | c39d52d4c9425c45394105bebdd6f2fac29569ee (patch) | |
tree | e83eeaf9efbb96e9341cc40137830a0b720814b4 /src/realmfinishpage.cpp | |
parent | b6e7d7b5155c2aee53b9ec2306a4400acc7c325f (diff) | |
download | kcmldapcontroller-c39d52d4c9425c45394105bebdd6f2fac29569ee.tar.gz kcmldapcontroller-c39d52d4c9425c45394105bebdd6f2fac29569ee.zip |
Realm is now almost fully online
Diffstat (limited to 'src/realmfinishpage.cpp')
-rw-r--r-- | src/realmfinishpage.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/realmfinishpage.cpp b/src/realmfinishpage.cpp index f2fd1b6..954455a 100644 --- a/src/realmfinishpage.cpp +++ b/src/realmfinishpage.cpp @@ -44,6 +44,7 @@ RealmFinishPage::RealmFinishPage(TQWidget *parent, const char *name ) : RealmFin connect(ldapAdminUsername, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); connect(ldapAdminGroupname, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); + connect(ldapMachineAdminGroupname, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); m_parentWizard = dynamic_cast<KWizard*>(parent); m_parentDialog = dynamic_cast<KDialogBase*>(parent); @@ -55,7 +56,7 @@ RealmFinishPage::~RealmFinishPage(){ void RealmFinishPage::validateEntries() { if (m_parentWizard) { - if ((ldapAdminUsername->text() != "") && (ldapAdminGroupname->text() != "")) { + if ((ldapAdminUsername->text() != "") && (ldapAdminGroupname->text() != "") && (ldapMachineAdminGroupname->text() != "")) { m_parentWizard->finishButton()->setEnabled(true); } else { @@ -63,7 +64,7 @@ void RealmFinishPage::validateEntries() { } } if (m_parentDialog) { - if ((ldapAdminUsername->text() != "") && (ldapAdminGroupname->text() != "")) { + if ((ldapAdminUsername->text() != "") && (ldapAdminGroupname->text() != "") && (ldapMachineAdminGroupname->text() != "")) { m_parentDialog->enableButton(KDialogBase::Ok, true); } else { |