Revision: 22610
          http://sourceforge.net/p/bibdesk/svn/22610
Author:   hofman
Date:     2018-09-15 13:38:13 +0000 (Sat, 15 Sep 2018)
Log Message:
-----------
reset people groups when resetting people

Modified Paths:
--------------
    trunk/bibdesk/BibItem.m

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2018-09-15 12:09:04 UTC (rev 22609)
+++ trunk/bibdesk/BibItem.m     2018-09-15 13:38:13 UTC (rev 22610)
@@ -3717,6 +3717,9 @@
     
     // invalidate people (authors, editors, etc.) if necessary
     if (allFieldsChanged || [key isPersonField]) {
+        if (allFieldsChanged == NO)
+            for (NSString *field in people)
+                [groups removeObjectForKey:field];
         [[people allValues] setValue:nil forKey:@"publication"];
         [people release];
         people = nil;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to