Skip to content

Commit

Permalink
Draft: set a space before the Link group
Browse files Browse the repository at this point in the history
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 927379c.
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Jul 7, 2020
1 parent cc4e00a commit f2750cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Draft/draftobjects/draftlink.py
Expand Up @@ -117,12 +117,12 @@ def linkSetup(self, obj):
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')
Expand Down

0 comments on commit f2750cb

Please sign in to comment.