Revision: 5534
http://skim-app.svn.sourceforge.net/skim-app/?rev=5534&view=rev
Author: hofman
Date: 2009-08-11 17:04:12 +0000 (Tue, 11 Aug 2009)
Log Message:
-----------
don't remove attached sheet when reverting, as the sheet should be able to
finish itself, otherwise problems can arise
Modified Paths:
--------------
trunk/SKPDFDocument.m
Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m 2009-08-11 12:47:59 UTC (rev 5533)
+++ trunk/SKPDFDocument.m 2009-08-11 17:04:12 UTC (rev 5534)
@@ -560,7 +560,7 @@
}
- (BOOL)revertToContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName
error:(NSError **)outError{
- BOOL disableAlert = [[NSUserDefaults standardUserDefaults]
boolForKey:SKDisableReloadAlertKey];
+ BOOL disableAlert = [[NSUserDefaults standardUserDefaults]
boolForKey:SKDisableReloadAlertKey] || [[self windowForSheet] attachedSheet];
if (disableAlert == NO) {
[[[self windowForSheet] attachedSheet] orderOut:self];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit