--- 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",