diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/autotest/testcodeparser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/autotest/testcodeparser.cpp b/plugins/autotest/testcodeparser.cpp index 8c0b7b43d7..004f733fbd 100644 --- a/plugins/autotest/testcodeparser.cpp +++ b/plugins/autotest/testcodeparser.cpp @@ -547,7 +547,10 @@ void TestCodeParser::onProjectPartsUpdated(ProjectExplorer::Project *project) { if (project != currentProject()) return; - updateTestTree(); + if (!m_parserEnabled || m_parserState == Disabled) + m_fullUpdatePostponed = true; + else + emitUpdateTestTree(); } void TestCodeParser::removeFiles(const QStringList &files) |