Revision: 27605
          http://sourceforge.net/p/bibdesk/svn/27605
Author:   hofman
Date:     2022-06-10 22:00:42 +0000 (Fri, 10 Jun 2022)
Log Message:
-----------
change cite key after saving old and new cite key in array, it may be released

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

Modified: trunk/bibdesk/BibDocument_Actions.m
===================================================================
--- trunk/bibdesk/BibDocument_Actions.m 2022-06-10 14:09:26 UTC (rev 27604)
+++ trunk/bibdesk/BibDocument_Actions.m 2022-06-10 22:00:42 UTC (rev 27605)
@@ -1501,10 +1501,10 @@
                 continue;
             }
             if ([newKey isEqualToString:oldKey] == NO) {
-                [aPub setCiteKey:newKey];
                 [arrayOfPubs addObject:aPub];
                 [arrayOfOldValues addObject:oldKey];
                 [arrayOfNewValues addObject:newKey];
+                [aPub setCiteKey:newKey];
             }
             
             [pool release];

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to