Commit b0dd75b4 authored by con's avatar con

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.
parent 514b16c8
......@@ -147,7 +147,7 @@ void CurrentDocumentFind::updateCurrentFindFilter(QWidget *old, QWidget *now)
if (!impl)
candidate = candidate->parentWidget();
}
if (!impl)
if (!impl || impl == m_currentFind)
return;
removeFindSupportConnections();
if (m_currentFind)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment