94 def __updateOk(self): |
94 def __updateOk(self): |
95 """ |
95 """ |
96 Private slot to update the state of the OK button. |
96 Private slot to update the state of the OK button. |
97 """ |
97 """ |
98 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
98 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
99 self.revisionsEdit.toPlainText() != "" or |
99 self.revisionsEdit.toPlainText() != "" or |
100 self.allCheckBox.isChecked()) |
100 self.allCheckBox.isChecked()) |
101 |
101 |
102 @pyqtSlot() |
102 @pyqtSlot() |
103 def on_revisionsEdit_textChanged(self): |
103 def on_revisionsEdit_textChanged(self): |
104 """ |
104 """ |