Revision: 3077
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3077&view=rev
Author:   hofman
Date:     2007-10-26 11:55:17 -0700 (Fri, 26 Oct 2007)

Log Message:
-----------
Close any attached sheet before reverting.

Modified Paths:
--------------
    trunk/SKDocument.m

Modified: trunk/SKDocument.m
===================================================================
--- trunk/SKDocument.m  2007-10-25 21:42:17 UTC (rev 3076)
+++ trunk/SKDocument.m  2007-10-26 18:55:17 UTC (rev 3077)
@@ -432,6 +432,8 @@
 }
 
 - (BOOL)revertToContentsOfURL:(NSURL *)absoluteURL ofType:(NSString *)typeName 
error:(NSError **)outError{
+    [[[self windowForSheet] attachedSheet] orderOut:self];
+        
     [[self progressController] setMessage:[NSLocalizedString(@"Reloading 
document", @"Message for progress sheet") stringByAppendingEllipsis]];
     [[self progressController] setIndeterminate:YES];
     [[self progressController] beginSheetModalForWindow:[self windowForSheet]];


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to