Revision: 16145
http://sourceforge.net/p/skim-app/code/16145
Author: hofman
Date: 2026-04-02 09:13:32 +0000 (Thu, 02 Apr 2026)
Log Message:
-----------
get document later
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-04-02 09:04:54 UTC (rev 16144)
+++ trunk/SKMainWindowController.m 2026-04-02 09:13:32 UTC (rev 16145)
@@ -319,7 +319,6 @@
// savedNormalSetup can contain pageIndex and snapshots from non-setup
bookmarks
BOOL hasWindowSetup = [savedNormalSetup count] > 2;
NSWindow *window = [self window];
- NSDocument *doc = [self document];
NSUserDefaults *sud = [NSUserDefaults standardUserDefaults];
mwcFlags.needsCleanup = YES;
@@ -450,6 +449,7 @@
// NB: the next line will load the PDF document and annotations, so
necessary setup must be finished first!
// windowControllerDidLoadNib: is not called automatically because the
document overrides makeWindowControllers
+ NSDocument *doc = [self document];
[doc windowControllerDidLoadNib:self];
// Show/hide left side pane if necessary
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