Revision: 27561 http://sourceforge.net/p/bibdesk/svn/27561 Author: hofman Date: 2022-06-05 14:42:12 +0000 (Sun, 05 Jun 2022) Log Message: ----------- no need for local variable
Modified Paths: -------------- trunk/bibdesk/BibItem.m Modified: trunk/bibdesk/BibItem.m =================================================================== --- trunk/bibdesk/BibItem.m 2022-06-05 14:40:43 UTC (rev 27560) +++ trunk/bibdesk/BibItem.m 2022-06-05 14:42:12 UTC (rev 27561) @@ -1179,11 +1179,9 @@ if ([value isEqualAsComplexString:@""] && [key isNoteField] == NO) value = nil; if ([self undoManager]) { - NSDate *oldModDate = [self dateModified]; - [[[self undoManager] prepareWithInvocationTarget:self] setField:key toValue:oldValue - withModDate:oldModDate]; + withModDate:[self dateModified]]; } [pubFields setValue:value forKey:key]; 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