Revision: 7023
http://skim-app.svn.sourceforge.net/skim-app/?rev=7023&view=rev
Author: hofman
Date: 2010-12-29 00:52:02 +0000 (Wed, 29 Dec 2010)
Log Message:
-----------
fix check when unlocking
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-12-28 17:40:46 UTC (rev 7022)
+++ trunk/SKMainWindowController.m 2010-12-29 00:52:02 UTC (rev 7023)
@@ -1950,9 +1950,7 @@
- (void)documentDidUnlockDelayed {
NSUInteger pageIndex = [[savedNormalSetup objectForKey:PAGEINDEX_KEY]
unsignedIntegerValue];
NSArray *snapshotSetups = [savedNormalSetup objectForKey:SNAPSHOTS_KEY];
- if ([savedNormalSetup objectForKey:AUTOSCALES_KEY]) {
- [self applyPDFSettings:[savedNormalSetup count] ? savedNormalSetup :
[[NSUserDefaults standardUserDefaults]
dictionaryForKey:SKDefaultPDFDisplaySettingsKey]];
- }
+ [self applyPDFSettings:[savedNormalSetup objectForKey:AUTOSCALES_KEY] ?
savedNormalSetup : [[NSUserDefaults standardUserDefaults]
dictionaryForKey:SKDefaultPDFDisplaySettingsKey]];
if (pageIndex != NSNotFound) {
[lastViewedPages removeAllObjects];
[pdfView goToPage:[[pdfView document] pageAtIndex:pageIndex]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit