diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp index fe4c1132f1e..dab7f80f672 100644 --- a/src/plugins/autotest/testcodeparser.cpp +++ b/src/plugins/autotest/testcodeparser.cpp @@ -155,8 +155,6 @@ void TestCodeParser::updateTestTree() return; m_fullUpdatePostponed = false; - - emit aboutToPerformFullParse(); qCDebug(LOG) << "calling scanForTests (updateTestTree)"; scanForTests(); } @@ -199,6 +197,7 @@ void TestCodeParser::onStartupProjectChanged(ProjectExplorer::Project *project) qCDebug(LOG) << "Canceling scanForTest (startup project changed)"; Core::ProgressManager::instance()->cancelTasks(Constants::TASK_PARSE); } + emit aboutToPerformFullParse(); if (project) emitUpdateTestTree(); }