Revision: 15415
          http://sourceforge.net/p/skim-app/code/15415
Author:   hofman
Date:     2025-06-08 21:49:24 +0000 (Sun, 08 Jun 2025)
Log Message:
-----------
only set shouldDisplay for Skim notes

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-08 15:47:49 UTC (rev 15414)
+++ trunk/SKMainWindowController.m      2025-06-08 21:49:24 UTC (rev 15415)
@@ -979,8 +979,10 @@
         for (NSArray *annotationAndPage in notesAndPagesToAdd) {
             PDFAnnotation *annotation = [annotationAndPage firstObject];
             PDFPage *page = [annotationAndPage lastObject];
-            [annotation setShouldDisplay:shouldDisplay];
-            [annotation setShouldPrint:shouldDisplay];
+            if ([annotation isSkimNote]) {
+                [annotation setShouldDisplay:shouldDisplay];
+                [annotation setShouldPrint:shouldDisplay];
+            }
             [addedNotes addObject:annotation];
             [pageIndexes addIndex:[page pageIndex]];
             [pdfDoc addAnnotation:annotation toPage:page];

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