Revision: 28272
          http://sourceforge.net/p/bibdesk/svn/28272
Author:   hofman
Date:     2023-06-01 14:19:27 +0000 (Thu, 01 Jun 2023)
Log Message:
-----------
make sure undo ation name is set before editing pubs, possibly showing a dialog

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2023-05-31 22:20:25 UTC (rev 28271)
+++ trunk/bibdesk/BibDocument.m 2023-06-01 14:19:27 UTC (rev 28272)
@@ -2236,11 +2236,11 @@
         }
     }
     
+    [[self undoManager] setActionName:NSLocalizedString(@"Add Publication", 
@"Undo action name")];
+    
        if((options & BDSKImportNoEdit) == 0 && [sud 
boolForKey:BDSKEditOnPasteKey])
                [self editPublications:newPubs]; // this will ask the user when 
there are many pubs
        
-       [[self undoManager] setActionName:NSLocalizedString(@"Add Publication", 
@"Undo action name")];
-    
     NSMutableArray *importedItems = [NSMutableArray array];
     BOOL aggregate = (options & BDSKImportAggregate) != 0;
     BDSKLastImportGroup *lastImportGroup = [groups lastImportGroup];

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