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

QmlDesigner.designDocumentController: reset formeditor

We are reseting now the formeditor when switching the mode.

Change-Id: Ic9d16e7587e59124dab51cd512bd6a366156c622
Reviewed-on: http://codereview.qt.nokia.com/726

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent f0cac988
......@@ -234,6 +234,8 @@ void DesignDocumentController::blockModelSync(bool block)
attachNodeInstanceView();
if (m_d->propertyEditorView)
m_d->propertyEditorView->resetView();
if (m_d->formEditorView)
m_d->formEditorView->resetView();
}
}
}
......
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