Revision: 28175
          http://sourceforge.net/p/bibdesk/svn/28175
Author:   hofman
Date:     2023-02-23 10:10:19 +0000 (Thu, 23 Feb 2023)
Log Message:
-----------
don't try to auto generate cite keys when there are no items to auto generate 
for

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2023-02-22 16:32:05 UTC (rev 28174)
+++ trunk/bibdesk/BibDocument.m 2023-02-23 10:10:19 UTC (rev 28175)
@@ -2200,7 +2200,8 @@
             hasDuplicateCiteKey = YES;
         }
     }
-    [self generateCiteKeysForPublications:autogeneratePubs];
+    if ([autogeneratePubs count])
+        [self generateCiteKeysForPublications:autogeneratePubs];
     
     BOOL useLocalUrlAndUrl = [sud boolForKey:BDSKUseLocalUrlAndUrlKey];
     

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