forked from qt-creator/qt-creator
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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user