mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 09:08:42 +00:00
GH-2101 fix enter and double click activation of instances
This commit is contained in:
@@ -692,7 +692,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
|
||||
setCatBackground(cat_enable);
|
||||
}
|
||||
// start instance when double-clicked
|
||||
connect(view, &GroupView::doubleClicked, this, &MainWindow::instanceActivated);
|
||||
connect(view, &GroupView::activated, this, &MainWindow::instanceActivated);
|
||||
|
||||
// track the selection -- update the instance toolbar
|
||||
connect(view->selectionModel(), &QItemSelectionModel::currentChanged, this, &MainWindow::instanceChanged);
|
||||
|
Reference in New Issue
Block a user