Преглед изворни кода

Merge pull request #10189 from Qigo42/master

yuzu/applets/qt_profile_select: connect double-click to accept()
liamwhite пре 3 година
родитељ
комит
35862b21d6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/yuzu/applets/qt_profile_select.cpp

+ 1 - 0
src/yuzu/applets/qt_profile_select.cpp

@@ -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()) {