Revision: 7140
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7140&view=rev
Author:   hofman
Date:     2011-03-07 17:53:39 +0000 (Mon, 07 Mar 2011)

Log Message:
-----------
remove convert notes sheet before converting, as that will put up a progress 
sheet

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

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2011-03-04 12:20:17 UTC (rev 7139)
+++ trunk/SKMainDocument.m      2011-03-07 17:53:39 UTC (rev 7140)
@@ -1045,10 +1045,12 @@
     
     PDFDocument *pdfDocWithoutNotes = nil;
     
+    // remove the sheet, to make place for either the password or progress 
sheet
+    [[alert window] orderOut:nil];
+    
     if ([[self pdfDocument] isEncrypted]) {
         pdfDocWithoutNotes = [[PDFDocument alloc] initWithData:pdfData];
         if ([self tryToUnlockDocument:pdfDocWithoutNotes] == NO) {
-            [[alert window] orderOut:nil];
             
             SKPasswordSheetController *passwordSheetController = 
[[[SKPasswordSheetController alloc] init] autorelease];
             


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to