Revision: 6958
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6958&view=rev
Author:   hofman
Date:     2010-12-10 16:07:16 +0000 (Fri, 10 Dec 2010)

Log Message:
-----------
make password field key when opening a locked document

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2010-12-09 23:09:42 UTC (rev 6957)
+++ trunk/SKMainWindowController.m      2010-12-10 16:07:16 UTC (rev 6958)
@@ -482,6 +482,9 @@
     if (hasWindowSetup)
         [savedNormalSetup removeAllObjects];
     
+    if ([[pdfView document] isLocked])
+        [[self window] makeFirstResponder:[pdfView 
subviewOfClass:[NSSecureTextField class]]];
+    
     mwcFlags.settingUpWindow = 0;
 }
 


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

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to