FreeCAD: master 2a15bd18

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-06-05 05:11:12 master 7a87f8f8
Changeset Draft: reset the list of strings in the Label viewprovider

When the value of the `Text` is changed, in the Coin node
only the first element in the list of strings is updated,
the other elements remain the same, resulting in an incorrect
label.

So we empty the value of the Coin string with `setValue("")`,
and then we can assign the new string list, producing the correct
expected result.
mod - src/Mod/Draft/draftviewproviders/view_label.py Diff File