mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Possibly fix pagination in search
This commit is contained in:
parent
81cf29f924
commit
8b39b65d43
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue