Skip to content
Snippets Groups Projects
Commit 219ef23c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.documentController: bugfix

We need to reset the componentView if a document changes.

Change-Id: I4eb14a34a41dd80d96c4350f7e596b6be47970dd
Reviewed-on: http://codereview.qt.nokia.com/1409


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent a8939034
No related branches found
No related tags found
No related merge requests found
......@@ -557,6 +557,7 @@ void DesignModeWidget::setAutoSynchronization(bool sync)
m_currentDesignDocumentController->loadMaster(m_currentTextEdit.data());
} else {
m_currentDesignDocumentController->loadCurrentModel();
m_componentView->resetView();
}
QList<RewriterView::Error> errors = m_currentDesignDocumentController->qmlErrors();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment