forked from qt-creator/qt-creator
CppEditor: Fix infinite loop on "find next" in include hierarchy
Change-Id: I8ee661b2d4b66704d85dd55cdd52f9e8c8d558d5 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
abc7f2fa61
commit
ded514cf05
@@ -322,6 +322,14 @@ private:
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result findStep(const QString &txt, FindFlags findFlags) override
|
||||||
|
{
|
||||||
|
m_model->setSearching(true);
|
||||||
|
Result result = ItemViewFind::findStep(txt, findFlags);
|
||||||
|
m_model->setSearching(false);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
CppIncludeHierarchyModel *m_model; // Not owned.
|
CppIncludeHierarchyModel *m_model; // Not owned.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user