Revision: 27671
http://sourceforge.net/p/bibdesk/svn/27671
Author: hofman
Date: 2022-07-01 15:08:41 +0000 (Fri, 01 Jul 2022)
Log Message:
-----------
ignore changes from default cite key
Modified Paths:
--------------
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2022-07-01 15:06:18 UTC (rev 27670)
+++ trunk/bibdesk/BibDocument_UI.m 2022-07-01 15:08:41 UTC (rev 27671)
@@ -1417,7 +1417,7 @@
if([changedKey isEqualToString:BDSKCiteKeyString]){
oldKey = [userInfo objectForKey:BDSKBibItemOldValueKey];
[publications changeCiteKey:oldKey toCiteKey:key forItem:pub];
- if([NSString isEmptyString:oldKey])
+ if([NSString isEmptyString:oldKey] || [oldKey isEqualToString:[BibItem
defaultCiteKey]])
oldKey = 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