diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-11-01 21:31:08 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-11-01 21:31:08 +0100 |
commit | 8b39b65d4300230d370fe9434cf4f72c5b5a98a6 (patch) | |
tree | 1003f0e45acecf6142d097815dcb08009e53c4ec | |
parent | Possibly fix crash when room is cleared on event delegate (diff) | |
download | nheko-8b39b65d4300230d370fe9434cf4f72c5b5a98a6.tar.xz |
Possibly fix pagination in search
-rw-r--r-- | src/timeline/TimelineFilter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timeline/TimelineFilter.cpp b/src/timeline/TimelineFilter.cpp index c2d9e31b..ae7e9791 100644 --- a/src/timeline/TimelineFilter.cpp +++ b/src/timeline/TimelineFilter.cpp @@ -81,9 +81,7 @@ TimelineFilter::event(QEvent *ev) s->index(std::min(incrementalSearchIndex, count - 1)), {FilterRole}); - if (incrementalSearchIndex < count && incrementalSearchIndex > 0) { - continueFiltering(); - } + continueFiltering(); } emit isFilteringChanged(); } |