diff --git a/src/App/Link.cpp b/src/App/Link.cpp index 82b41aa6d8..732eb95f71 100644 --- a/src/App/Link.cpp +++ b/src/App/Link.cpp @@ -301,7 +301,8 @@ int LinkBaseExtension::_getElementCountValue() const { } bool LinkBaseExtension::extensionHasChildElement() const { - if(_getElementListProperty() || _getElementCountValue()) + if(_getElementListValue().size() + || (_getElementCountValue() && _getShowElementValue())) return true; DocumentObject *linked = getTrueLinkedObject(false); if(linked) {