Revision: 16428
          http://sourceforge.net/p/skim-app/code/16428
Author:   hofman
Date:     2026-09-06 09:13:49 +0000 (Sun, 06 Sep 2026)
Log Message:
-----------
revert last commit, we already select the notes

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-09-06 09:11:23 UTC (rev 16427)
+++ trunk/SKMainWindowController.m      2026-09-06 09:13:49 UTC (rev 16428)
@@ -460,12 +460,8 @@
         [leftSideController.button setEnabled:NO 
forSegment:SKSidePaneStateOutline];
     
     // Show/hide right side pane if necessary
-    BOOL hasNotes = [notes count] == 0;
-    if ([sud boolForKey:SKOpenNotesPaneOnlyForNotesKey]) {
-        [[[splitViewController splitViewItems] lastObject] 
setCollapsed:hasNotes];
-        if (hasNotes)
-            [self setRightSidePaneState:SKSidePaneStateNote];
-    }
+    if ([sud boolForKey:SKOpenNotesPaneOnlyForNotesKey])
+        [[[splitViewController splitViewItems] lastObject] setCollapsed:[notes 
count] == 0];
     
     // Due to a bug in Leopard we should only resize and swap in the PDFView 
after loading the PDFDocument
     

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