Revision: 5912
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5912&view=rev
Author:   hofman
Date:     2009-10-19 22:27:34 +0000 (Mon, 19 Oct 2009)

Log Message:
-----------
invert a check for initially closing content pane when there's no TOC

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2009-10-19 14:18:49 UTC (rev 5911)
+++ trunk/SKMainWindowController.m      2009-10-19 22:27:34 UTC (rev 5912)
@@ -437,7 +437,7 @@
     
     // Show/hide left side pane if necessary
     BOOL hasOutline = ([[pdfView document] outlineRoot] != nil);
-    if ([sud boolForKey:SKOpenContentsPaneOnlyForTOCKey] && [self 
leftSidePaneIsOpen] == hasOutline)
+    if ([sud boolForKey:SKOpenContentsPaneOnlyForTOCKey] && [self 
leftSidePaneIsOpen] != hasOutline)
         [self toggleLeftSidePane:self];
     if (hasOutline)
         [self setLeftSidePaneState:SKOutlineSidePaneState];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to