QmlDesigner: crash fix
The subcomponent manager populates the item library.
This means the ItemLibraryView has to be properly
initialized before we call m_subComponentManager->update().
I added a helper function and call it from activateAutoSynchronization(),
after all views have been attached.
Change-Id: Ie802f93c7d0a76b42160d4a92e8448e900380b71
Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
Showing
- src/plugins/qmldesigner/components/integration/designdocument.cpp 10 additions, 2 deletions...ins/qmldesigner/components/integration/designdocument.cpp
- src/plugins/qmldesigner/components/integration/designdocument.h 1 addition, 0 deletions...ugins/qmldesigner/components/integration/designdocument.h
- src/plugins/qmldesigner/qmldesignerplugin.cpp 1 addition, 0 deletionssrc/plugins/qmldesigner/qmldesignerplugin.cpp
Please register or sign in to comment