summaryrefslogtreecommitdiffstats
path: root/src/groupconfigdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/groupconfigdlg.cpp')
-rw-r--r--src/groupconfigdlg.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/groupconfigdlg.cpp b/src/groupconfigdlg.cpp
index 8f7593e..94b70e4 100644
--- a/src/groupconfigdlg.cpp
+++ b/src/groupconfigdlg.cpp
@@ -72,6 +72,19 @@ GroupConfigDialog::GroupConfigDialog(LDAPGroupInfo group, LDAPConfig* parent, co
}
void GroupConfigDialog::slotOk() {
+ int i;
+
+ // Update data
+ m_group.gid = m_base->groupID->value();
+ TQStringList userlist;
+ for (i=0;i<m_base->selectedAccounts->count();i++) {
+ TQListBoxText* itm = dynamic_cast<TQListBoxText*>(m_base->selectedAccounts->item(i));
+ if (itm) {
+ userlist.append(m_ldapconfig->findUserInfoByName(itm->text()).distinguishedName);
+ }
+ }
+ m_group.userlist = userlist;
+
accept();
}