Revision: 15432
          http://sourceforge.net/p/skim-app/code/15432
Author:   hofman
Date:     2025-06-11 09:07:22 +0000 (Wed, 11 Jun 2025)
Log Message:
-----------
don't bbother setting placeholder pdf document to nil at first run

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-11 09:06:09 UTC (rev 15431)
+++ trunk/SKMainWindowController.m      2025-06-11 09:07:22 UTC (rev 15432)
@@ -1078,8 +1078,6 @@
     NSArray *snapshotDicts = nil;
     NSDictionary *openState = nil;
     
-    placeholderPdfDocument = nil;
-    
     if (oldPdfDoc) {
         // this is a revert
         // need to clean up data and actions, and remember settings to restore
@@ -1126,6 +1124,8 @@
                 [savedNormalSetup setDictionary:[pdfView displaySettings]];
             [savedNormalSetup setObject:@YES forKey:LOCKED_KEY];
         }
+        
+        placeholderPdfDocument = nil;
     }
     
     if ([pdfDocument isLocked] == NO) {

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