Commit 83ced24f authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann

QmlDesigner.FormEditor: Set selection tool as current tool for detachment

Change-Id: Ia6815efd0d33036819de72aa41db5b71d2b36a84
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 8be991b1
......@@ -183,6 +183,8 @@ void FormEditorView::modelAboutToBeDetached(Model *model)
m_formEditorWidget->resetView();
scene()->resetScene();
m_currentTool = m_selectionTool;
QmlModelView::modelAboutToBeDetached(model);
}
......
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