mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 15:40:18 +00:00
Merge pull request #10023 from JosJuice/qt-breakpoint-focus
DolphinQt: Set default focus for NewBreakpointDialog
This commit is contained in:
commit
7cc8437050
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user