App: change Link array behavior
Do not behave as group when Link array is collapsed (i.e. ShowElement is false)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user