src/eric7/Debugger/StartDialog.py

branch
eric7-maintenance
changeset 10079
0222a480e93d
parent 9654
7328efba128b
parent 10038
5c82fcc94266
child 10222
1146cc8fbf5d
--- 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
 

eric ide

mercurial