Revision: 6673
http://skim-app.svn.sourceforge.net/skim-app/?rev=6673&view=rev
Author: hofman
Date: 2010-08-06 11:01:10 +0000 (Fri, 06 Aug 2010)
Log Message:
-----------
no need to get labels of outline children when we don't have a state
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-08-06 09:58:38 UTC (rev 6672)
+++ trunk/SKMainWindowController.m 2010-08-06 11:01:10 UTC (rev 6673)
@@ -661,7 +661,7 @@
if ([anOutline parent])
[leftSideController.tocOutlineView expandItem:anOutline];
NSEnumerator *infoEnum = nil;
- if ([[children valueForKey:@"label"] isEqualToArray:[childrenStates
valueForKey:@"label"]])
+ if (childrenStates && [[children valueForKey:@"label"]
isEqualToArray:[childrenStates valueForKey:@"label"]])
infoEnum = [childrenStates objectEnumerator];
for (PDFOutline *child in children)
[self openOutline:child forOpenState:[infoEnum nextObject]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit