Commit 4358ecbd authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Do not always bring refreshed resources in

It would horribly glitch on some searches, for example when doing by
appstream url where we cannot generically filter since some resources
will have several of them.

BUG: 432654


(cherry picked from commit 2dc0f67f)
parent 76b2f060
......@@ -540,9 +540,6 @@ void ResourcesProxyModel::refreshResource(AbstractResource* resource, const QVec
{
const auto residx = m_displayedResources.indexOf(resource);
if (residx<0) {
if (!m_sortByRelevancy && m_filters.shouldFilter(resource)) {
sortedInsertion({resource});
}
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment