From d7af10f06d538889a3fb19a6786fb7db328ccb38 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 4 Apr 2023 20:25:41 +0200 Subject: [PATCH] Fix switching between thread showing stale messages in some circumstances --- src/timeline/TimelineFilter.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); }