Revision: 27451
          http://sourceforge.net/p/bibdesk/svn/27451
Author:   hofman
Date:     2022-05-21 17:28:21 +0000 (Sat, 21 May 2022)
Log Message:
-----------
use accessor, not valueForKey:

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2022-05-21 17:19:31 UTC (rev 27450)
+++ trunk/bibdesk/BDSKEditor.m  2022-05-21 17:28:21 UTC (rev 27451)
@@ -2554,7 +2554,7 @@
        if ([NSString isEmptyString:crossref] == NO) {
         NSArray *pubs = [[notification userInfo] 
objectForKey:editorFlags.isEditable ? BDSKDocumentPublicationsKey : 
BDSKExternalGroupPublicationsKey];
         for (id pub in pubs) {
-            if ([crossref isCaseInsensitiveEqual:[pub 
valueForKey:@"citeKey"]]) {
+            if ([crossref isCaseInsensitiveEqual:[pub citeKey]]) {
                 // changes in the parent cannot change the field names, as 
custom fields are never inherited
                 [self reloadTable];
                 break;

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