diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-04-04 20:25:41 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-04-04 20:25:41 +0200 |
commit | d7af10f06d538889a3fb19a6786fb7db328ccb38 (patch) | |
tree | 9cf2b856e55f82f04433f12968b6a1312520fbff | |
parent | Add a more obvious thread indicator (diff) | |
download | nheko-d7af10f06d538889a3fb19a6786fb7db328ccb38.tar.xz |
Fix switching between thread showing stale messages in some circumstances
-rw-r--r-- | src/timeline/TimelineFilter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/TimelineFilter.cpp b/src/timeline/TimelineFilter.cpp index 75b6d395..6f2f9e7a 100644 --- a/src/timeline/TimelineFilter.cpp +++ b/src/timeline/TimelineFilter.cpp @@ -41,6 +41,8 @@ TimelineFilter::startFiltering() incrementalSearchIndex = 0; emit isFilteringChanged(); invalidateFilter(); + beginResetModel(); + endResetModel(); continueFiltering(); } |