Commit 2dc0f67f authored by Aleix Pol Gonzalez's avatar 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
parent 426b3dce
...@@ -540,9 +540,6 @@ void ResourcesProxyModel::refreshResource(AbstractResource* resource, const QVec ...@@ -540,9 +540,6 @@ void ResourcesProxyModel::refreshResource(AbstractResource* resource, const QVec
{ {
const auto residx = m_displayedResources.indexOf(resource); const auto residx = m_displayedResources.indexOf(resource);
if (residx<0) { if (residx<0) {
if (!m_sortByRelevancy && m_filters.shouldFilter(resource)) {
sortedInsertion({resource});
}
return; 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