Preferences/ConfigurationPages/MasterPasswordEntryDialog.py

changeset 2964
84b65fb9e780
parent 2408
dc3a7c9d8f6e
child 3010
befeff46ec0f
equal deleted inserted replaced
2963:745d38097b7f 2964:84b65fb9e780
95 self.__updateUI() 95 self.__updateUI()
96 96
97 def getMasterPassword(self): 97 def getMasterPassword(self):
98 """ 98 """
99 Public method to get the new master password. 99 Public method to get the new master password.
100
101 @return new master password (string)
100 """ 102 """
101 return self.newPasswordEdit.text() 103 return self.newPasswordEdit.text()
102 104
103 def getCurrentPassword(self): 105 def getCurrentPassword(self):
104 """ 106 """
105 Public method to get the current master password. 107 Public method to get the current master password.
108
109 @return current master password (string)
106 """ 110 """
107 return self.currentPasswordEdit.text() 111 return self.currentPasswordEdit.text()

eric ide

mercurial