Re-highlight when find flags change.

Instead of just removing the highlight.
Reviewed-by: Robert Loehning
(cherry picked from commit 02734ecc46)
This commit is contained in:
con
2009-08-25 11:55:33 +02:00
parent 014bcf9081
commit 930a98a5e6

View File

@@ -448,6 +448,9 @@ void FindToolBar::findFlagsChanged()
updateIcons(); updateIcons();
updateFlagMenus(); updateFlagMenus();
invokeClearResults(); invokeClearResults();
if (isVisible()) {
m_currentDocumentFind->highlightAll(getFindText(), effectiveFindFlags());
}
} }
void FindToolBar::updateIcons() void FindToolBar::updateIcons()