Revision: 22622
          http://sourceforge.net/p/bibdesk/svn/22622
Author:   hofman
Date:     2018-09-17 09:30:15 +0000 (Mon, 17 Sep 2018)
Log Message:
-----------
no need to check for non nil receiver

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2018-09-17 09:29:17 UTC (rev 22621)
+++ trunk/bibdesk/BibItem.m     2018-09-17 09:30:15 UTC (rev 22622)
@@ -1193,9 +1193,7 @@
 - (void)setPubFields: (NSDictionary *)newFields{
     NSDictionary *oldFields = [self pubFields];
        if(NO == [newFields isEqualToDictionary:oldFields]){
-               if ([self undoManager]) {
-                       [[[self undoManager] prepareWithInvocationTarget:self] 
setPubFields:oldFields];
-               }
+        [[[self undoManager] prepareWithInvocationTarget:self] 
setPubFields:oldFields];
                
         [pubFields release];
         pubFields = [[NSMutableDictionary alloc] initWithDictionary:newFields];

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