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:
vocx-fc
2020-06-28 23:27:58 -05:00
committed by Yorik van Havre
parent 9de3c4143a
commit 70617e2e85

View File

@@ -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')