also clear filters when pressing x button

This commit is contained in:
matcool 2024-04-28 17:32:44 -03:00
parent 60ca65fb67
commit d4f49abd33

View file

@ -579,6 +579,8 @@ void ModList::onSort(CCObject*) {
}
void ModList::onClearFilters(CCObject*) {
// FIXME: reloads twice
m_source->setModTags({});
m_searchInput->setString("", true);
}