Allow double clicking to mark for dowload
Signed-off-by: Erogig <erogigabyte@gmail.com>
This commit is contained in:
parent
c6bcb6228b
commit
8a4f1c66f8
@ -60,6 +60,7 @@ ModPage::ModPage(ModDownloadDialog* dialog, BaseInstance* instance, ModAPI* api)
|
|||||||
|
|
||||||
connect(ui->searchButton, &QPushButton::clicked, this, &ModPage::triggerSearch);
|
connect(ui->searchButton, &QPushButton::clicked, this, &ModPage::triggerSearch);
|
||||||
connect(ui->modFilterButton, &QPushButton::clicked, this, &ModPage::filterMods);
|
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.setTimerType(Qt::TimerType::CoarseTimer);
|
||||||
m_search_timer.setSingleShot(true);
|
m_search_timer.setSingleShot(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user