diff options
| author | Mai M <mathew1800@gmail.com> | 2021-08-13 13:18:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-13 13:18:58 -0400 |
| commit | 7cc8437050f05a34e7073e9bf49df9fc5aa3ff2e (patch) | |
| tree | fb2b21e39830ff490cc0c7b49ff4da373fc7996a /Source | |
| parent | a27dbe58a6337e2a08534c36c7e9a0c590b3a145 (diff) | |
| parent | 6c908f8ddb8a005a7306022c4717313d608d3eca (diff) | |
Merge pull request #10023 from JosJuice/qt-breakpoint-focus
DolphinQt: Set default focus for NewBreakpointDialog
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/NewBreakpointDialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/NewBreakpointDialog.cpp b/Source/Core/DolphinQt/Debugger/NewBreakpointDialog.cpp index e75f618ea6..6a1a3eff7b 100644 --- a/Source/Core/DolphinQt/Debugger/NewBreakpointDialog.cpp +++ b/Source/Core/DolphinQt/Debugger/NewBreakpointDialog.cpp @@ -19,6 +19,7 @@ NewBreakpointDialog::NewBreakpointDialog(BreakpointWidget* parent) : QDialog(parent), m_parent(parent) { + setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); setWindowTitle(tr("New Breakpoint")); CreateWidgets(); ConnectWidgets(); @@ -102,6 +103,8 @@ void NewBreakpointDialog::CreateWidgets() layout->addWidget(m_buttons); setLayout(layout); + + m_instruction_address->setFocus(); } void NewBreakpointDialog::ConnectWidgets() |
