Revision: 15403
          http://sourceforge.net/p/skim-app/code/15403
Author:   hofman
Date:     2025-06-07 22:37:52 +0000 (Sat, 07 Jun 2025)
Log Message:
-----------
get undoManager from document

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-07 22:33:55 UTC (rev 15402)
+++ trunk/SKMainWindowController.m      2025-06-07 22:37:52 UTC (rev 15403)
@@ -1000,7 +1000,7 @@
 
     mwcFlags.addOrRemoveNotesInBulk = 0;
     
-    [[[self undoManager] prepareWithInvocationTarget:self] 
addAnnotations:removedNotesAndPages removeAnnotations:addedNotes];
+    [[[[self document] undoManager] prepareWithInvocationTarget:self] 
addAnnotations:removedNotesAndPages removeAnnotations:addedNotes];
     
     [removedIndexes removeIndex:NSNotFound];
     

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to