Plugins/VcsPlugins/vcsMercurial/HgGraftDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
48 Private slot to update the state of the OK button. 48 Private slot to update the state of the OK button.
49 """ 49 """
50 enable = self.revisionsEdit.toPlainText() != "" 50 enable = self.revisionsEdit.toPlainText() != ""
51 if self.userGroup.isChecked(): 51 if self.userGroup.isChecked():
52 enable = enable and \ 52 enable = enable and \
53 (self.currentUserCheckBox.isChecked() or \ 53 (self.currentUserCheckBox.isChecked() or
54 self.userEdit.text() != "") 54 self.userEdit.text() != "")
55 55
56 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) 56 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable)
57 57
58 @pyqtSlot() 58 @pyqtSlot()

eric ide

mercurial