Preferences/ConfigurationPages/MasterPasswordEntryDialog.py

changeset 1131
7781e396c903
parent 1127
b1802ebe0066
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
24 Constructor 24 Constructor
25 25
26 @param oldPasswordHash hash of the current password (string) 26 @param oldPasswordHash hash of the current password (string)
27 @param parent reference to the parent widget (QWidget) 27 @param parent reference to the parent widget (QWidget)
28 """ 28 """
29 QDialog.__init__(self, parent) 29 super().__init__(parent)
30 self.setupUi(self) 30 self.setupUi(self)
31 31
32 self.__oldPasswordHash = oldPasswordHash 32 self.__oldPasswordHash = oldPasswordHash
33 if self.__oldPasswordHash == "": 33 if self.__oldPasswordHash == "":
34 self.currentPasswordEdit.setEnabled(False) 34 self.currentPasswordEdit.setEnabled(False)

eric ide

mercurial