Revision: 6670
http://skim-app.svn.sourceforge.net/skim-app/?rev=6670&view=rev
Author: hofman
Date: 2010-08-06 09:45:11 +0000 (Fri, 06 Aug 2010)
Log Message:
-----------
only update outline state when there's an outline
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-08-03 23:16:31 UTC (rev 6669)
+++ trunk/SKMainWindowController.m 2010-08-06 09:45:11 UTC (rev 6670)
@@ -697,7 +697,8 @@
mwcFlags.updatingOutlineSelection = 1;
// If this is a reload following a TeX run and the user just killed the
outline for some reason, we get a crash if the outlineView isn't reloaded, so
no longer make it conditional on pdfOutline != nil
[leftSideController.tocOutlineView reloadData];
- [self openOutline:outlineRoot forOpenState:info];
+ if (outlineRoot)
+ [self openOutline:outlineRoot forOpenState:info];
mwcFlags.updatingOutlineSelection = 0;
[self updateOutlineSelection];
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