diff options
author | ErogigGit <eric.hagerstrand@gmail.com> | 2022-09-24 22:37:51 +0200 |
---|---|---|
committer | ErogigGit <eric.hagerstrand@gmail.com> | 2022-09-24 22:37:51 +0200 |
commit | 8a4f1c66f83a339d33ab0ba0076d8c1141055067 (patch) | |
tree | 81e633dedc5d8f5876e4c53c83e5b3508fd80255 | |
parent | c6bcb6228b421983006d16c93f7cda091dc9679b (diff) | |
download | PrismLauncher-8a4f1c66f83a339d33ab0ba0076d8c1141055067.tar.gz PrismLauncher-8a4f1c66f83a339d33ab0ba0076d8c1141055067.tar.bz2 PrismLauncher-8a4f1c66f83a339d33ab0ba0076d8c1141055067.zip |
Allow double clicking to mark for dowload
Signed-off-by: Erogig <erogigabyte@gmail.com>
-rw-r--r-- | launcher/ui/pages/modplatform/ModPage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/ModPage.cpp b/launcher/ui/pages/modplatform/ModPage.cpp index 986caa77..4fce0242 100644 --- a/launcher/ui/pages/modplatform/ModPage.cpp +++ b/launcher/ui/pages/modplatform/ModPage.cpp @@ -60,6 +60,7 @@ ModPage::ModPage(ModDownloadDialog* dialog, BaseInstance* instance, ModAPI* api) connect(ui->searchButton, &QPushButton::clicked, this, &ModPage::triggerSearch); connect(ui->modFilterButton, &QPushButton::clicked, this, &ModPage::filterMods); + connect(ui->packView, &QListView::doubleClicked, this, &ModPage::onModSelected); m_search_timer.setTimerType(Qt::TimerType::CoarseTimer); m_search_timer.setSingleShot(true); |