Revision: 27473 http://sourceforge.net/p/bibdesk/svn/27473 Author: hofman Date: 2022-05-24 14:34:04 +0000 (Tue, 24 May 2022) Log Message: ----------- don't check for member of fields
Modified Paths: -------------- trunk/bibdesk/BDSKEditor.m Modified: trunk/bibdesk/BDSKEditor.m =================================================================== --- trunk/bibdesk/BDSKEditor.m 2022-05-24 09:19:37 UTC (rev 27472) +++ trunk/bibdesk/BDSKEditor.m 2022-05-24 14:34:04 UTC (rev 27473) @@ -2525,7 +2525,7 @@ else if([changeKey isPersonField]) [authorTableView reloadData]; - if ((([NSString isEmptyAsComplexString:newValue] != [NSString isEmptyAsComplexString:oldValue]) && [addedFields containsObject:changeKey] == NO && [[[BDSKTypeManager sharedManager] standardFieldsForType:[publication pubType]] containsObject:changeKey] == NO) || [fields containsObject:changeKey] == NO) { + if (([NSString isEmptyAsComplexString:newValue] != [NSString isEmptyAsComplexString:oldValue]) && [addedFields containsObject:changeKey] == NO && [[[BDSKTypeManager sharedManager] standardFieldsForType:[publication pubType]] containsObject:changeKey] == NO) { // a custom field was added or removed NSInteger editedRow = [tableView editedTextRow]; if (editedRow != -1 && [[fields objectAtIndex:editedRow] isEqualToString:changeKey]) { 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