Commit e8195c07 authored by Marco Bubke's avatar Marco Bubke
Browse files

Update the tools if the nodetype was changed.

parent 6216552d
......@@ -180,6 +180,8 @@ void FormEditorView::nodeAboutToBeRemoved(const ModelNode &removedNode)
QmlItemNode newItemNode(node);
if (newItemNode.isValid()) //only setup QmlItems
setupFormEditorItemTree(newItemNode);
m_currentTool->setItems(scene()->itemsForQmlItemNodes(selectedQmlItemNodes()));
}
void FormEditorView::propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList)
......
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