Revision: 6792
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6792&view=rev
Author:   hofman
Date:     2010-09-10 17:13:21 +0000 (Fri, 10 Sep 2010)

Log Message:
-----------
use default expansion state for TOC when document is unlocked, because it was 
not shown before

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2010-09-09 22:52:24 UTC (rev 6791)
+++ trunk/SKMainWindowController.m      2010-09-10 17:13:21 UTC (rev 6792)
@@ -1921,7 +1921,7 @@
 }
 
 - (void)documentDidUnlock:(NSNotification *)notification {
-    [self updatePageLabelsAndOutlineForExpansionState:[self 
expansionStateForOutline:[[pdfView document] outlineRoot]]];
+    [self updatePageLabelsAndOutlineForExpansionState:nil];
 }
 
 - (void)document:(PDFDocument *)aDocument didUnlockWithPassword:(NSString 
*)password {


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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to