diff options
Diffstat (limited to 'plugins/autotest/testcodeparser.cpp')
-rw-r--r-- | plugins/autotest/testcodeparser.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/autotest/testcodeparser.cpp b/plugins/autotest/testcodeparser.cpp index 71e5eaff6d..c3ae634b59 100644 --- a/plugins/autotest/testcodeparser.cpp +++ b/plugins/autotest/testcodeparser.cpp @@ -538,6 +538,13 @@ void TestCodeParser::onQmlDocumentUpdated(const QmlJS::Document::Ptr &document) } } +void TestCodeParser::onProjectPartsUpdated(ProjectExplorer::Project *project) +{ + if (project != currentProject()) + return; + updateTestTree(); +} + void TestCodeParser::removeFiles(const QStringList &files) { foreach (const QString &file, files) |