Revision: 27480 http://sourceforge.net/p/bibdesk/svn/27480 Author: hofman Date: 2022-05-26 09:31:05 +0000 (Thu, 26 May 2022) Log Message: ----------- no need forlocal variable
Modified Paths: -------------- trunk/bibdesk/BDSKEditor.m Modified: trunk/bibdesk/BDSKEditor.m =================================================================== --- trunk/bibdesk/BDSKEditor.m 2022-05-26 09:29:57 UTC (rev 27479) +++ trunk/bibdesk/BDSKEditor.m 2022-05-26 09:31:05 UTC (rev 27480) @@ -2589,8 +2589,7 @@ id changedOwner = [[notification object] owner]; if(changedOwner == nil || changedOwner == [publication owner]) { [fields enumerateObjectsUsingBlock:^(NSString *field, NSUInteger row, BOOL *stop){ - NSString *value = [publication valueOfField:field]; - if ([value isComplex]) { + if ([[publication valueOfField:field] isComplex]) { BDSKEditorTextField *textField = [self textFieldAtRow:row]; if ([textField currentEditor] == nil) [textField setNeedsDisplay:YES]; 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