eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditConfigDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8176
31965986ecd1
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
71 elif self.branchButton.isChecked(): 71 elif self.branchButton.isChecked():
72 enabled = enabled and bool(self.branchCombo.currentText()) 72 enabled = enabled and bool(self.branchCombo.currentText())
73 elif self.bookmarkButton.isChecked(): 73 elif self.bookmarkButton.isChecked():
74 enabled = enabled and bool(self.bookmarkCombo.currentText()) 74 enabled = enabled and bool(self.bookmarkCombo.currentText())
75 75
76 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled) 76 self.buttonBox.button(
77 QDialogButtonBox.StandardButton.Ok).setEnabled(enabled)
77 78
78 @pyqtSlot(bool) 79 @pyqtSlot(bool)
79 def on_defaultButton_toggled(self, checked): 80 def on_defaultButton_toggled(self, checked):
80 """ 81 """
81 Private slot to handle changes of the Default select button. 82 Private slot to handle changes of the Default select button.

eric ide

mercurial