forked from qt-creator/qt-creator
Fix postponing when code model is parsed
If postponing a full parse unset an already postponed partial parse otherwise we could run into the Q_ASSERT statement inside onPartialParsingFinished(). Change-Id: Iee197f1e16496ea87975d5ead0e43953353ab9a7 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -117,6 +117,8 @@ void TestCodeParser::updateTestTree()
|
||||
m_singleShotScheduled = false;
|
||||
if (m_codeModelParsing) {
|
||||
m_fullUpdatePostponed = true;
|
||||
m_partialUpdatePostponed = false;
|
||||
m_postponedFiles.clear();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user