eric6/Project/IdlCompilerDefineNameDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
43 43
44 def __updateOkButton(self): 44 def __updateOkButton(self):
45 """ 45 """
46 Private slot to update the enable state of the OK button. 46 Private slot to update the enable state of the OK button.
47 """ 47 """
48 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( 48 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
49 bool(self.nameEdit.text())) 49 bool(self.nameEdit.text()))
50 50
51 @pyqtSlot(str) 51 @pyqtSlot(str)
52 def on_nameEdit_textChanged(self, txt): 52 def on_nameEdit_textChanged(self, txt):
53 """ 53 """

eric ide

mercurial