Revision: 9765
          http://sourceforge.net/p/skim-app/code/9765
Author:   hofman
Date:     2018-04-18 16:10:57 +0000 (Wed, 18 Apr 2018)
Log Message:
-----------
no need to set undo action name twice

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2018-04-18 12:28:58 UTC (rev 9764)
+++ trunk/SKPDFView.m   2018-04-18 16:10:57 UTC (rev 9765)
@@ -1996,10 +1996,8 @@
 - (void)removeThisAnnotation:(id)sender{
     PDFAnnotation *annotation = [sender representedObject];
     
-    if (annotation) {
+    if (annotation)
         [self removeAnnotation:annotation];
-        [[self undoManager] setActionName:NSLocalizedString(@"Remove Note", 
@"Undo action name")];
-    }
 }
 
 - (void)removeAnnotation:(PDFAnnotation *)annotation {

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to