diff options
| author | 2023-07-21 23:56:01 -0400 | |
|---|---|---|
| committer | 2023-07-21 23:56:01 -0400 | |
| commit | 33d118509ad201cecf60519e41437740705148ea (patch) | |
| tree | 69d55e56a70ce23b51673d56c3ee48094f21fc01 /src | |
| parent | qt/configuration: Use deleteLater (diff) | |
| download | yuzu-33d118509ad201cecf60519e41437740705148ea.tar.gz yuzu-33d118509ad201cecf60519e41437740705148ea.tar.xz yuzu-33d118509ad201cecf60519e41437740705148ea.zip | |
configure_dialog: Focus the button box on start
Without this, the Reset All Settings button would be selected by default
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_dialog.cpp b/src/yuzu/configuration/configure_dialog.cpp index 183555acd..3c6bb3eb1 100644 --- a/src/yuzu/configuration/configure_dialog.cpp +++ b/src/yuzu/configuration/configure_dialog.cpp | |||
| @@ -97,6 +97,9 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_, | |||
| 97 | 97 | ||
| 98 | adjustSize(); | 98 | adjustSize(); |
| 99 | ui->selectorList->setCurrentRow(0); | 99 | ui->selectorList->setCurrentRow(0); |
| 100 | |||
| 101 | // Selects the leftmost button on the bottom bar (Cancel as of writing) | ||
| 102 | ui->buttonBox->setFocus(); | ||
| 100 | } | 103 | } |
| 101 | 104 | ||
| 102 | ConfigureDialog::~ConfigureDialog() = default; | 105 | ConfigureDialog::~ConfigureDialog() = default; |