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

branch
maintenance
changeset 8176
31965986ecd1
parent 8043
0acf98cd089a
parent 8143
2c730d5fd177
child 8273
698ae46f40a4
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
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