Revision: 9764
          http://sourceforge.net/p/skim-app/code/9764
Author:   hofman
Date:     2018-04-18 12:28:58 +0000 (Wed, 18 Apr 2018)
Log Message:
-----------
commit editing for text note implicitly when setting the active annotation when 
removing the note, for some reason the commitEditing was called twice

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2018-04-12 17:50:01 UTC (rev 9763)
+++ trunk/SKPDFView.m   2018-04-18 12:28:58 UTC (rev 9764)
@@ -2007,8 +2007,6 @@
     PDFPage *page = [[wasAnnotation page] retain];
     
     [[[self undoManager] prepareWithInvocationTarget:self] 
addAnnotation:wasAnnotation toPage:page];
-    if ([self isEditingAnnotation:annotation])
-        [self commitEditing];
        if (activeAnnotation == annotation)
                [self setActiveAnnotation:nil];
     [self setNeedsDisplayForAnnotation:wasAnnotation];

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