From b86904a4ce6df0562aa8b8372b5dc94221bd0847 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 7 Aug 2012 12:46:56 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 3b7d228dcc72f9e1e396acb3f0225ad61769908c Monotone-Revision: 6dc341f7a0f37b8ee7ca892e2d126c44a8b70f7f Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-08-07T12:46:56 --- ChangeLog | 5 +++++ UI/Contacts/UIxListEditor.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d0086495f..f17958fb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-08-07 Francis Lachapelle + + * UI/Contacts/UIxListEditor.m (-setReferencesValue:): check for + duplicates in the new list, not in the previous version. + 2012-08-03 Jean Raby * SoObjects/SOGo/LDAPSource.m (changePasswordForLogin): diff --git a/UI/Contacts/UIxListEditor.m b/UI/Contacts/UIxListEditor.m index b13677e5f..d9478b9cc 100644 --- a/UI/Contacts/UIxListEditor.m +++ b/UI/Contacts/UIxListEditor.m @@ -147,7 +147,7 @@ for (i = 0; i < count; i++) { currentReference = [references objectAtIndex: i]; - if (![self cardReferences: initialReferences + if (![self cardReferences: [list cardReferences] contain: currentReference]) { // Search contact by vCard UID