eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/HgStripDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8043
0acf98cd089a
parent 8143
2c730d5fd177
child 8273
698ae46f40a4
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
61 elif self.tagButton.isChecked(): 61 elif self.tagButton.isChecked():
62 enabled = enabled and self.tagCombo.currentText() != "" 62 enabled = enabled and self.tagCombo.currentText() != ""
63 elif self.branchButton.isChecked(): 63 elif self.branchButton.isChecked():
64 enabled = enabled and self.branchCombo.currentText() != "" 64 enabled = enabled and self.branchCombo.currentText() != ""
65 65
66 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled) 66 self.buttonBox.button(
67 QDialogButtonBox.StandardButton.Ok).setEnabled(enabled)
67 68
68 @pyqtSlot(bool) 69 @pyqtSlot(bool)
69 def on_numberButton_toggled(self, checked): 70 def on_numberButton_toggled(self, checked):
70 """ 71 """
71 Private slot to handle changes of the Number select button. 72 Private slot to handle changes of the Number select button.

eric ide

mercurial