Revision: 13637
          http://sourceforge.net/p/skim-app/code/13637
Author:   hofman
Date:     2023-09-03 22:24:30 +0000 (Sun, 03 Sep 2023)
Log Message:
-----------
we don't need page indexes when we change the pdf document

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2023-09-03 16:28:10 UTC (rev 13636)
+++ trunk/SKMainWindowController.m      2023-09-03 22:24:30 UTC (rev 13637)
@@ -1036,7 +1036,7 @@
     PDFDocument *pdfDoc = pdfDocument ?: [pdfView document];
     NSMutableArray *notesToAdd = [NSMutableArray array];
     NSMutableArray *widgetProperties = [NSMutableArray array];
-    NSMutableIndexSet *pageIndexes = pdfDocument ? [NSMutableIndexSet 
indexSet] : nil;
+    NSMutableIndexSet *pageIndexes = pdfDocument ? nil : [NSMutableIndexSet 
indexSet];
     BOOL isConvert = [notesToRemove count] > 0 && [[notesToRemove firstObject] 
isSkimNote] == NO;
     
     SKDESTROY(placeholderPdfDocument);

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

Reply via email to