Revision: 16109
http://sourceforge.net/p/skim-app/code/16109
Author: hofman
Date: 2026-03-26 14:55:44 +0000 (Thu, 26 Mar 2026)
Log Message:
-----------
don't try to apply side pane widths when not present
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-03-26 10:15:45 UTC (rev 16108)
+++ trunk/SKMainWindowController.m 2026-03-26 14:55:44 UTC (rev 16109)
@@ -591,7 +591,7 @@
[savedNormalWindow setFrame:NSRectFromString(rectString)
display:NO];
}
- BOOL applySidePaneWidths = [self interactionMode] != SKFullScreenMode
|| [savedNormalSetup objectForKey:LEFTSIDEPANEWIDTH_KEY] == nil;
+ BOOL applySidePaneWidths = ([self interactionMode] != SKFullScreenMode
|| [savedNormalSetup objectForKey:LEFTSIDEPANEWIDTH_KEY] == nil) && [setup
objectForKey:LEFTSIDEPANEWIDTH_KEY];
if (applySidePaneWidths) {
[self setLeftSideWidth:[setup objectForKey:LEFTSIDEPANEWIDTH_KEY]];
[self setRightSideWidth:[setup
objectForKey:RIGHTSIDEPANEWIDTH_KEY]];
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