diff options
author | con <qtc-committer@nokia.com> | 2009-08-25 11:55:33 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-08-25 12:02:14 +0200 |
commit | 930a98a5e6df1a247eedf2e1295e2464033210a4 (patch) | |
tree | c8bf98a65ccde66024c4edbf7fc52359671e93be | |
parent | 014bcf908119ab34e896f422b1cdab1398e3394e (diff) |
Re-highlight when find flags change.
Instead of just removing the highlight.
Reviewed-by: Robert Loehning
(cherry picked from commit 02734ecc46073d6341b2b9776dc446109536cc25)
-rw-r--r-- | src/plugins/find/findtoolbar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/find/findtoolbar.cpp b/src/plugins/find/findtoolbar.cpp index 8e24b5b3f8..e6dcd67af3 100644 --- a/src/plugins/find/findtoolbar.cpp +++ b/src/plugins/find/findtoolbar.cpp @@ -448,6 +448,9 @@ void FindToolBar::findFlagsChanged() updateIcons(); updateFlagMenus(); invokeClearResults(); + if (isVisible()) { + m_currentDocumentFind->highlightAll(getFindText(), effectiveFindFlags()); + } } void FindToolBar::updateIcons() |