src/eric7/Debugger/EditWatchpointDialog.py

branch
eric7
changeset 10689
3ede487187f2
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10688:0d9853ceb288 10689:3ede487187f2
73 73
74 msh = self.minimumSizeHint() 74 msh = self.minimumSizeHint()
75 self.resize(max(self.width(), msh.width()), msh.height()) 75 self.resize(max(self.width(), msh.width()), msh.height())
76 76
77 @pyqtSlot(str) 77 @pyqtSlot(str)
78 def __textChanged(self, txt): 78 def __textChanged(self, _txt):
79 """ 79 """
80 Private slot to handle the text changed signal of the condition line 80 Private slot to handle the text changed signal of the condition line
81 edit. 81 edit.
82 82
83 @param txt text of the line edit 83 @param _txt text of the line edit (unused)
84 @type str 84 @type str
85 """ 85 """
86 if self.conditionButton.isChecked(): 86 if self.conditionButton.isChecked():
87 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( 87 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
88 self.conditionEdit.text() != "" 88 self.conditionEdit.text() != ""

eric ide

mercurial