Revision: 27675
          http://sourceforge.net/p/bibdesk/svn/27675
Author:   hofman
Date:     2022-07-01 15:43:39 +0000 (Fri, 01 Jul 2022)
Log Message:
-----------
Do change citation fields when item does not have a crossref

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

Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m      2022-07-01 15:36:50 UTC (rev 27674)
+++ trunk/bibdesk/BibDocument_UI.m      2022-07-01 15:43:39 UTC (rev 27675)
@@ -1443,11 +1443,9 @@
     
     for (BibItem *aPub in publications) {
         NSString *crossref = [aPub valueOfField:BDSKCrossrefString inherit:NO];
-        if([NSString isEmptyString:crossref])
-            continue;
         
         // invalidate groups that depend on inherited values
-        if ([key isCaseInsensitiveEqual:crossref]) {
+        if ([NSString isEmptyString:crossref] == NO && [key 
isCaseInsensitiveEqual:crossref]) {
             [aPub invalidateGroupNames];
             [changedPublications addObject:aPub];
         }

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