Revision: 7022
http://skim-app.svn.sourceforge.net/skim-app/?rev=7022&view=rev
Author: hofman
Date: 2010-12-28 17:40:46 +0000 (Tue, 28 Dec 2010)
Log Message:
-----------
clear saved setup
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-12-28 17:09:39 UTC (rev 7021)
+++ trunk/SKMainWindowController.m 2010-12-28 17:40:46 UTC (rev 7022)
@@ -489,6 +489,8 @@
if ([[pdfView document] isLocked])
[[self window] makeFirstResponder:[pdfView
subviewOfClass:[NSSecureTextField class]]];
+ else
+ [savedNormalSetup removeAllObjects];
mwcFlags.settingUpWindow = 0;
}
@@ -1584,6 +1586,7 @@
if (wasInteractionMode == SKPresentationMode)
[self exitPresentationMode];
[self applyPDFSettings:savedNormalSetup];
+ [savedNormalSetup removeAllObjects];
[pdfView layoutDocumentView];
[pdfView setNeedsDisplay:YES];
@@ -1957,6 +1960,7 @@
if ([snapshotSetups count]) {
[self showSnapshotsWithSetups:snapshotSetups];
}
+ [savedNormalSetup removeAllObjects];
}
- (void)documentDidUnlock:(NSNotification *)notification {
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