Commit 8e6095e3 authored by Marco Bubke's avatar Marco Bubke Committed by Kai Koehne
Browse files

Test if a item exist for this node in the formeditor.

Task-Number: BAUHAUS-566
Reviewed-by: kkoehne
parent e34ae97d
......@@ -198,7 +198,7 @@ void FormEditorView::propertiesAboutToBeRemoved(const QList<AbstractProperty>& p
foreach(const ModelNode &modelNode, nodeAbstractProperty.allSubNodes()) {
QmlItemNode qmlItemNode(modelNode);
if (qmlItemNode.isValid()) {
if (qmlItemNode.isValid() && m_scene->hasItemForQmlItemNode(qmlItemNode)) {
FormEditorItem *item = m_scene->itemForQmlItemNode(qmlItemNode);
Supports Markdown
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