--- a/eric6/Plugins/VcsPlugins/vcsGit/GitRevisionsSelectionDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitRevisionsSelectionDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -29,7 +29,8 @@ super(GitRevisionsSelectionDialog, self).__init__(parent) self.setupUi(self) - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(False) self.tag1Combo.addItems(sorted(tagsList)) self.tag2Combo.addItems(sorted(tagsList)) @@ -58,7 +59,8 @@ elif self.branch2Button.isChecked(): enabled = enabled and self.branch2Combo.currentText() != "" - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) @pyqtSlot(bool) def on_rev1Button_toggled(self, checked):