Plugins/VcsPlugins/vcsMercurial/HgGraftDialog.py

changeset 3034
7ce719013078
parent 3023
34ce20603bf7
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
46 Private slot to update the state of the OK button. 46 Private slot to update the state of the OK button.
47 """ 47 """
48 enable = self.revisionsEdit.toPlainText() != "" 48 enable = self.revisionsEdit.toPlainText() != ""
49 if self.userGroup.isChecked(): 49 if self.userGroup.isChecked():
50 enable = enable and \ 50 enable = enable and \
51 (self.currentUserCheckBox.isChecked() or \ 51 (self.currentUserCheckBox.isChecked() or
52 self.userEdit.text() != "") 52 self.userEdit.text() != "")
53 53
54 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) 54 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable)
55 55
56 @pyqtSlot() 56 @pyqtSlot()

eric ide

mercurial