1
1
Fork 0
forked from suyu/suyu

Merge pull request #10189 from Qigo42/master

yuzu/applets/qt_profile_select: connect double-click to accept()
This commit is contained in:
liamwhite 2023-05-07 14:08:57 -04:00 committed by GitHub
commit 35862b21d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,6 +95,7 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(
scroll_area->setLayout(layout);
connect(tree_view, &QTreeView::clicked, this, &QtProfileSelectionDialog::SelectUser);
connect(tree_view, &QTreeView::doubleClicked, this, &QtProfileSelectionDialog::accept);
connect(controller_navigation, &ControllerNavigation::TriggerKeyboardEvent,
[this](Qt::Key key) {
if (!this->isActiveWindow()) {