diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 23:56:01 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 23:56:01 -0400 |
commit | 33d118509ad201cecf60519e41437740705148ea (patch) | |
tree | 69d55e56a70ce23b51673d56c3ee48094f21fc01 | |
parent | 1d4f813c6ab59ffe41ccd9be27786aeab344a1f4 (diff) |
configure_dialog: Focus the button box on start
Without this, the Reset All Settings button would be selected by default
-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 183555acd5..3c6bb3eb1a 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_, adjustSize(); ui->selectorList->setCurrentRow(0); + + // Selects the leftmost button on the bottom bar (Cancel as of writing) + ui->buttonBox->setFocus(); } ConfigureDialog::~ConfigureDialog() = default; |