Commit 0c7852d5 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Marco Bubke
Browse files

QmlDesigner.formEditor: do not show items from a delegate

Items that have a custom parser or are components are not shown
in the formeditor.

Task-number: QTCREATORBUG-5228
Change-Id: I633fe35d40edd1a5b14275d67a48265313b08657

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarMarco Bubke <>
parent acd500ae
......@@ -125,7 +125,8 @@ void FormEditorView::setupFormEditorItemTree(const QmlItemNode &qmlItemNode)
foreach (const QmlObjectNode &nextNode, qmlItemNode.allDirectSubNodes()) //TODO instance children
if (QmlItemNode(nextNode).isValid())
//If the node has source for components/custom parsers we ignore it.
if (QmlItemNode(nextNode).isValid() && nextNode.modelNode().nodeSourceType() == ModelNode::NodeWithoutSource)
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