diff options
author | Steve <110565931+jonesyUK@users.noreply.github.com> | 2022-08-05 08:02:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 10:02:04 -0500 |
commit | cd5bbf0f04696d6d44dae8c4a4e5f768a70019de (patch) | |
tree | 31744b8c027d110ad1554bae85c410867efe0e89 /src/yuzu/applets/qt_profile_select.cpp | |
parent | 1f7e62e86ef8d370834c1c2f8c0c0430d2a89712 (diff) |
Controller bugfixes in profile select (#8716)
* Controller bugfixes in profile select, closes #8265
2 fixes for using a controller in profile select dialog.
Pressing 'B' cancels the launch of the game
Using controller to select a profile now correctly sets the index to use for the launch
* Added brackets to if statements as requested.
Diffstat (limited to 'src/yuzu/applets/qt_profile_select.cpp')
-rw-r--r-- | src/yuzu/applets/qt_profile_select.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/applets/qt_profile_select.cpp b/src/yuzu/applets/qt_profile_select.cpp index 826c6c224..c8bcfb223 100644 --- a/src/yuzu/applets/qt_profile_select.cpp +++ b/src/yuzu/applets/qt_profile_select.cpp @@ -100,6 +100,7 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(Core::HID::HIDCore& hid_core, } QKeyEvent* event = new QKeyEvent(QEvent::KeyPress, key, Qt::NoModifier); QCoreApplication::postEvent(tree_view, event); + SelectUser(tree_view->currentIndex()); }); const auto& profiles = profile_manager->GetAllUsers(); |