Revision: 15572
          http://sourceforge.net/p/skim-app/code/15572
Author:   hofman
Date:     2025-06-29 17:22:07 +0000 (Sun, 29 Jun 2025)
Log Message:
-----------
set undo action name

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2025-06-29 17:20:41 UTC (rev 15571)
+++ trunk/SKPDFView.m   2025-06-29 17:22:07 UTC (rev 15572)
@@ -2678,8 +2678,10 @@
 - (void)removeThisAnnotation:(id)sender{
     PDFAnnotation *annotation = [sender representedObject];
     
-    if (annotation)
+    if (annotation) {
         [[self document] removeAnnotation:annotation];
+        [[self undoManager] setActionName:NSLocalizedString(@"Remove Note", 
@"Undo action name")];
+    }
 }
 
 - (void)editThisAnnotation:(id)sender {

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