eric6/Preferences/ConfigurationPages/MasterPasswordEntryDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8222
5994b80b8760
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
22 Constructor 22 Constructor
23 23
24 @param oldPasswordHash hash of the current password (string) 24 @param oldPasswordHash hash of the current password (string)
25 @param parent reference to the parent widget (QWidget) 25 @param parent reference to the parent widget (QWidget)
26 """ 26 """
27 super(MasterPasswordEntryDialog, self).__init__(parent) 27 super().__init__(parent)
28 self.setupUi(self) 28 self.setupUi(self)
29 29
30 self.__oldPasswordHash = oldPasswordHash 30 self.__oldPasswordHash = oldPasswordHash
31 if self.__oldPasswordHash == "": 31 if self.__oldPasswordHash == "":
32 self.currentPasswordEdit.setEnabled(False) 32 self.currentPasswordEdit.setEnabled(False)

eric ide

mercurial