eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/HgRebaseDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
75 elif self.branch2Button.isChecked(): 75 elif self.branch2Button.isChecked():
76 enabled = enabled and self.branch2Combo.currentText() != "" 76 enabled = enabled and self.branch2Combo.currentText() != ""
77 elif self.bookmark2Button.isChecked(): 77 elif self.bookmark2Button.isChecked():
78 enabled = enabled and self.bookmark2Combo.currentText() != "" 78 enabled = enabled and self.bookmark2Combo.currentText() != ""
79 79
80 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled) 80 self.buttonBox.button(
81 QDialogButtonBox.StandardButton.Ok).setEnabled(enabled)
81 82
82 @pyqtSlot(bool) 83 @pyqtSlot(bool)
83 def on_id1Button_toggled(self, checked): 84 def on_id1Button_toggled(self, checked):
84 """ 85 """
85 Private slot to handle changes of the ID1 select button. 86 Private slot to handle changes of the ID1 select button.

eric ide

mercurial