forked from qt-creator/qt-creator
Fixes: - Fix the unhighlight fix.
Details: - We shouldn't do anything if the find filter doesn't change. That probably also avoids multiple event filters on the same widget.
This commit is contained in:
@@ -147,7 +147,7 @@ void CurrentDocumentFind::updateCurrentFindFilter(QWidget *old, QWidget *now)
|
|||||||
if (!impl)
|
if (!impl)
|
||||||
candidate = candidate->parentWidget();
|
candidate = candidate->parentWidget();
|
||||||
}
|
}
|
||||||
if (!impl)
|
if (!impl || impl == m_currentFind)
|
||||||
return;
|
return;
|
||||||
removeFindSupportConnections();
|
removeFindSupportConnections();
|
||||||
if (m_currentFind)
|
if (m_currentFind)
|
||||||
|
|||||||
Reference in New Issue
Block a user