Revision: 29339
http://sourceforge.net/p/bibdesk/svn/29339
Author: hofman
Date: 2025-07-23 14:38:22 +0000 (Wed, 23 Jul 2025)
Log Message:
-----------
check most distinguishing condition first
Modified Paths:
--------------
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2025-07-23 14:24:17 UTC (rev 29338)
+++ trunk/bibdesk/BibDocument_UI.m 2025-07-23 14:38:22 UTC (rev 29339)
@@ -1420,7 +1420,7 @@
NSString *changedKey = [userInfo objectForKey:BDSKBibItemKeyKey];
NSString *key = [pub citeKey];
NSString *oldKey = nil;
- BOOL isEdit = [changedKey isNoteField] && [userInfo count] == 1;
+ BOOL isEdit = [userInfo count] == 1 && [changedKey isNoteField];
// when the crossref changes, all ionherited fields can change
if ([changedKey isEqualToString:BDSKCrossrefString]) {
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