--- a/src/eric7/Debugger/StartDialog.py Tue May 02 10:20:23 2023 +0200 +++ b/src/eric7/Debugger/StartDialog.py Sat May 27 19:02:58 2023 +0200 @@ -9,6 +9,7 @@ import os +from PyQt6.QtCore import Qt from PyQt6.QtWidgets import QComboBox, QDialog, QDialogButtonBox, QInputDialog from eric7 import Preferences @@ -224,6 +225,10 @@ if dialogType == 3: # start coverage or profile dialog self.ui.eraseCheckBox.setChecked(True) + self.ui.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setFocus( + Qt.FocusReason.OtherFocusReason + ) + self.__clearHistoryLists = False self.__historiesModified = False