Draft: set a space before the Link group
For some reason all `App::Link` properties are in a group that starts with a space, so `' Link'`, not just `'Link'`. This was changed in 9873eb0a74.
This commit is contained in:
@@ -117,12 +117,12 @@ class DraftLink(DraftObject):
|
||||
if not hasattr(obj, 'LinkTransform'):
|
||||
obj.addProperty('App::PropertyBool',
|
||||
'LinkTransform',
|
||||
'Link')
|
||||
' Link')
|
||||
|
||||
if not hasattr(obj, 'ColoredElements'):
|
||||
obj.addProperty('App::PropertyLinkSubHidden',
|
||||
'ColoredElements',
|
||||
'Link')
|
||||
' Link')
|
||||
obj.setPropertyStatus('ColoredElements', 'Hidden')
|
||||
|
||||
obj.configLinkProperty('LinkTransform', 'ColoredElements')
|
||||
|
||||
Reference in New Issue
Block a user