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

QmlDesigner.formEditor: crashfix

This fixes a rare crash.

Reviewed-by: Kai Koehne
parent c8669cc1
......@@ -188,8 +188,8 @@ void FormEditorView::nodeAboutToBeRemoved(const ModelNode &removedNode)
}
foreach (FormEditorItem *item, m_scene->allFormEditorItems()) {
delete item;
m_scene->removeItemFromHash(item);
delete item;
}
QmlModelView::rootNodeTypeChanged(type, majorVersion, minorVersion);
......
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