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)
|
||||
candidate = candidate->parentWidget();
|
||||
}
|
||||
if (!impl)
|
||||
if (!impl || impl == m_currentFind)
|
||||
return;
|
||||
removeFindSupportConnections();
|
||||
if (m_currentFind)
|
||||
|
||||
Reference in New Issue
Block a user