Preferences/ConfigurationPages/SecurityPage.py

changeset 2408
dc3a7c9d8f6e
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2964
84b65fb9e780
--- a/Preferences/ConfigurationPages/SecurityPage.py	Sun Feb 10 19:46:21 2013 +0100
+++ b/Preferences/ConfigurationPages/SecurityPage.py	Mon Feb 11 14:08:08 2013 +0100
@@ -14,8 +14,6 @@
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_SecurityPage import Ui_SecurityPage
 
-from .MasterPasswordEntryDialog import MasterPasswordEntryDialog
-
 import Preferences
 
 
@@ -74,6 +72,7 @@
         @param checked flag indicating the state of the check box (boolean)
         """
         if checked:
+            from .MasterPasswordEntryDialog import MasterPasswordEntryDialog
             dlg = MasterPasswordEntryDialog("", self)
             if dlg.exec_() == QDialog.Accepted:
                 Preferences.setUser("MasterPassword",
@@ -91,6 +90,7 @@
         """
         Private slot to change the master password.
         """
+        from .MasterPasswordEntryDialog import MasterPasswordEntryDialog
         dlg = MasterPasswordEntryDialog(Preferences.getUser("MasterPassword"), self)
         if dlg.exec_() == QDialog.Accepted:
             Preferences.setUser("MasterPassword",

eric ide

mercurial