eric6/Debugger/EditWatchpointDialog.py

changeset 7251
bc5b1b00560a
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7250:d8bdc55aee1a 7251:bc5b1b00560a
75 edit. 75 edit.
76 76
77 @param txt text of the line edit (string) 77 @param txt text of the line edit (string)
78 """ 78 """
79 if self.conditionButton.isChecked(): 79 if self.conditionButton.isChecked():
80 self.buttonBox.button(QDialogButtonBox.Ok)\ 80 self.buttonBox.button(
81 .setEnabled(self.conditionEdit.text() != "") 81 QDialogButtonBox.Ok
82 ).setEnabled(self.conditionEdit.text() != "")
82 elif self.specialButton.isChecked(): 83 elif self.specialButton.isChecked():
83 self.buttonBox.button(QDialogButtonBox.Ok)\ 84 self.buttonBox.button(
84 .setEnabled(self.specialEdit.text() != "") 85 QDialogButtonBox.Ok
86 ).setEnabled(self.specialEdit.text() != "")
85 else: 87 else:
86 # should not happen 88 # should not happen
87 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) 89 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
88 90
89 def getData(self): 91 def getData(self):

eric ide

mercurial