Commit 16aa7897 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.SubComponentManager: Do not parse if detached



If detached from rewriter do not parse directories.

Change-Id: Ie07e732d5e09b337d43221df4aa88c7e62aac55b
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 2fd3c8bd
......@@ -228,6 +228,8 @@ void SubComponentManager::parseDirectories()
void SubComponentManager::parseDirectory(const QString &canonicalDirPath, bool addToLibrary, const TypeName& qualification)
{
if (!model()->rewriterView())
return;
QDir designerDir(canonicalDirPath + Constants::QML_DESIGNER_SUBFOLDER);
if (designerDir.exists()) {
......
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