--- a/src/eric7/UI/VersionsDialog.py Thu Jun 01 11:44:06 2023 +0200 +++ b/src/eric7/UI/VersionsDialog.py Sun Jun 04 15:16:12 2023 +0200 @@ -51,8 +51,8 @@ ) self.__checkUpdateButton.clicked.connect(self.__checkForUpdate) - self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setDefault(True) - self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setFocus( + self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setDefault(True) + self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setFocus( Qt.FocusReason.OtherFocusReason ) @@ -124,8 +124,8 @@ ) self.__upgradeBothButton.clicked.connect(self.__ui.upgradeEricPyQt) - self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setDefault(True) - self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setFocus( + self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setDefault(True) + self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setFocus( Qt.FocusReason.OtherFocusReason )