mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-18 16:42:12 -04:00
Properly refresh modpack search upon changing filters
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
8275529afb
commit
d1f7bcd6c6
@ -140,8 +140,8 @@ void FlamePage::triggerSearch()
|
|||||||
ui->packView->clearSelection();
|
ui->packView->clearSelection();
|
||||||
ui->packDescription->clear();
|
ui->packDescription->clear();
|
||||||
ui->versionSelectionBox->clear();
|
ui->versionSelectionBox->clear();
|
||||||
listModel->searchWithTerm(ui->searchEdit->text(), ui->sortByBox->currentIndex(), m_filterWidget->getFilter(),
|
bool filterChanged = m_filterWidget->changed();
|
||||||
m_filterWidget->changed());
|
listModel->searchWithTerm(ui->searchEdit->text(), ui->sortByBox->currentIndex(), m_filterWidget->getFilter(), filterChanged);
|
||||||
m_fetch_progress.watch(listModel->activeSearchJob().get());
|
m_fetch_progress.watch(listModel->activeSearchJob().get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -361,7 +361,8 @@ void ModrinthPage::triggerSearch()
|
|||||||
ui->packView->clearSelection();
|
ui->packView->clearSelection();
|
||||||
ui->packDescription->clear();
|
ui->packDescription->clear();
|
||||||
ui->versionSelectionBox->clear();
|
ui->versionSelectionBox->clear();
|
||||||
m_model->searchWithTerm(ui->searchEdit->text(), ui->sortByBox->currentIndex(), m_filterWidget->getFilter(), m_filterWidget->changed());
|
bool filterChanged = m_filterWidget->changed();
|
||||||
|
m_model->searchWithTerm(ui->searchEdit->text(), ui->sortByBox->currentIndex(), m_filterWidget->getFilter(), filterChanged);
|
||||||
m_fetch_progress.watch(m_model->activeSearchJob().get());
|
m_fetch_progress.watch(m_model->activeSearchJob().get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user