From 514b16c815c8600b18dd52fdd63e542548727609 Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Tue, 6 Jan 2009 13:59:17 +0100 Subject: [PATCH] Fixes: - Unhighlight search results when search filter changes Task: - 237668 --- src/plugins/find/currentdocumentfind.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/find/currentdocumentfind.cpp b/src/plugins/find/currentdocumentfind.cpp index 26ed8dd0492..ed0a61c8319 100644 --- a/src/plugins/find/currentdocumentfind.cpp +++ b/src/plugins/find/currentdocumentfind.cpp @@ -150,6 +150,8 @@ void CurrentDocumentFind::updateCurrentFindFilter(QWidget *old, QWidget *now) if (!impl) return; removeFindSupportConnections(); + if (m_currentFind) + m_currentFind->highlightAll(QString(), 0); m_currentWidget = candidate; m_currentFind = impl; if (m_currentFind) { -- GitLab