Possibly fix pagination in search

This commit is contained in:
Nicolas Werner 2023-11-01 21:31:08 +01:00
parent 81cf29f924
commit 8b39b65d43
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -81,10 +81,8 @@ TimelineFilter::event(QEvent *ev)
s->index(std::min(incrementalSearchIndex, count - 1)), s->index(std::min(incrementalSearchIndex, count - 1)),
{FilterRole}); {FilterRole});
if (incrementalSearchIndex < count && incrementalSearchIndex > 0) {
continueFiltering(); continueFiltering();
} }
}
emit isFilteringChanged(); emit isFilteringChanged();
} }
return true; return true;