Skip to content
Snippets Groups Projects
Commit e8195c07 authored by Marco Bubke's avatar Marco Bubke
Browse files

Update the tools if the nodetype was changed.

parent 6216552d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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