Commit d87b4668 authored by Christian Stenger's avatar Christian Stenger
Browse files

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: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent 565712d8
......@@ -117,6 +117,8 @@ void TestCodeParser::updateTestTree()
m_singleShotScheduled = false;
if (m_codeModelParsing) {
m_fullUpdatePostponed = true;
m_partialUpdatePostponed = false;
m_postponedFiles.clear();
return;
}
......
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