diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-10-14 17:18:32 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-10-14 17:22:03 +0200 |
commit | e7c211f9ad5a78f12403a3e3ea01d0a3647bed11 (patch) | |
tree | 4f8394fd497121104dd4e5702f5421ce6f645b1b /src/plugins/qmldesigner | |
parent | 829a1d3451d52e8e5b3ea6ae4f8d010f85ddf592 (diff) | |
download | qt-creator-e7c211f9ad5a78f12403a3e3ea01d0a3647bed11.tar.gz |
QmlDesigner.designDocumentController: fixes update of SubComponentManger
We have to update the SubComponentManger each time the document changes.
Change-Id: Ifb42e3d6b2e123ef651309144ae8f3bbdbe39eb7
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/qmldesigner')
-rw-r--r-- | src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp b/src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp index f5d2690e80..a24210b0d1 100644 --- a/src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp +++ b/src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp @@ -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(); } |