eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleAddBuiltinIgnoreDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
39 39
40 def __updateOkButton(self): 40 def __updateOkButton(self):
41 """ 41 """
42 Private slot to set the state of the OK button. 42 Private slot to set the state of the OK button.
43 """ 43 """
44 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( 44 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
45 bool(self.leftEdit.text()) and 45 bool(self.leftEdit.text()) and
46 bool(self.rightEdit.text())) 46 bool(self.rightEdit.text()))
47 47
48 @pyqtSlot(str) 48 @pyqtSlot(str)
49 def on_leftEdit_textChanged(self, txt): 49 def on_leftEdit_textChanged(self, txt):

eric ide

mercurial