Commit e7c211f9 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.designDocumentController: fixes update of SubComponentManger



We have to update the SubComponentManger each time the document changes.

Change-Id: Ifb42e3d6b2e123ef651309144ae8f3bbdbe39eb7
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 829a1d34
......@@ -576,6 +576,7 @@ void DesignDocumentController::loadCurrentModel()
d->formEditorView->crumblePath()->pushElement(simplfiedDisplayName(), createCrumbleBarInfo());
d->documentLoaded = true;
d->subComponentManager->update(d->searchPath, d->model->imports());
Q_ASSERT(d->masterModel);
QApplication::restoreOverrideCursor();
}
......
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