diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp index dd507df5ea7..106b68562dc 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp @@ -300,8 +300,10 @@ bool PropertyEditorValue::isAvailable() const if (QmlDesigner::QmlItemNode::isValidQmlItemNode(m_modelNode)) { const bool itemHasChildren = QmlDesigner::QmlItemNode(m_modelNode).hasChildren(); - if (allowedItemProps.allowChildren == itemHasChildren) - return true; + if (itemHasChildren) + return allowedItemProps.allowChildren + + return true; } } }