summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-04-04 20:25:41 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-04-04 20:25:41 +0200
commitd7af10f06d538889a3fb19a6786fb7db328ccb38 (patch)
tree9cf2b856e55f82f04433f12968b6a1312520fbff
parentAdd a more obvious thread indicator (diff)
downloadnheko-d7af10f06d538889a3fb19a6786fb7db328ccb38.tar.xz
Fix switching between thread showing stale messages in some circumstances
-rw-r--r--src/timeline/TimelineFilter.cpp2
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();
 }