Possibly fix pagination in search

pull/1614/head
Nicolas Werner 1 year ago
parent 81cf29f924
commit 8b39b65d43
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      src/timeline/TimelineFilter.cpp

@ -81,9 +81,7 @@ 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();
} }

Loading…
Cancel
Save