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

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8176
31965986ecd1
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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