Revision: 13648
http://sourceforge.net/p/skim-app/code/13648
Author: hofman
Date: 2023-09-08 22:11:37 +0000 (Fri, 08 Sep 2023)
Log Message:
-----------
don't set undo action name on document's undoManager in presentation as we use
a different undoManager
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-09-08 16:23:44 UTC (rev 13647)
+++ trunk/SKPDFView.m 2023-09-08 22:11:37 UTC (rev 13648)
@@ -4619,11 +4619,12 @@
if (interactionMode != SKPresentationMode) {
[annotation registerUserName];
[self beginNewUndoGroupIfNeededWithCommit:NO];
+ [[self document] addAnnotation:annotation toPage:page];
+ [[self undoManager] setActionName:NSLocalizedString(@"Add Note",
@"Undo action name")];
} else if (tmpColor) {
[annotation setColor:tmpColor];
+ [[self document] addAnnotation:annotation toPage:page];
}
- [[self document] addAnnotation:annotation toPage:page];
- [[self undoManager] setActionName:NSLocalizedString(@"Add Note",
@"Undo action name")];
[paths release];
[annotation release];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit