mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 18:22:47 +01:00
Merge pull request #10189 from Qigo42/master
yuzu/applets/qt_profile_select: connect double-click to accept()
This commit is contained in:
commit
35862b21d6
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(
|
||||||
scroll_area->setLayout(layout);
|
scroll_area->setLayout(layout);
|
||||||
|
|
||||||
connect(tree_view, &QTreeView::clicked, this, &QtProfileSelectionDialog::SelectUser);
|
connect(tree_view, &QTreeView::clicked, this, &QtProfileSelectionDialog::SelectUser);
|
||||||
|
connect(tree_view, &QTreeView::doubleClicked, this, &QtProfileSelectionDialog::accept);
|
||||||
connect(controller_navigation, &ControllerNavigation::TriggerKeyboardEvent,
|
connect(controller_navigation, &ControllerNavigation::TriggerKeyboardEvent,
|
||||||
[this](Qt::Key key) {
|
[this](Qt::Key key) {
|
||||||
if (!this->isActiveWindow()) {
|
if (!this->isActiveWindow()) {
|
||||||
|
|
Loading…
Reference in a new issue