Draft: Make featureName attribute translation-independent

The translation for the task panel title is done in the Ui method call
This commit is contained in:
marioalexis
2021-03-29 01:23:13 -03:00
parent 744846dd4f
commit d428b30635
37 changed files with 68 additions and 77 deletions

View File

@@ -78,8 +78,7 @@ class PointArray(gui_base_original.Modifier):
def Activated(self, name="Point array"):
"""Execute when the command is called."""
self.name = name
super(PointArray, self).Activated(name=translate("draft","Point array"))
super(PointArray, self).Activated(name=name)
# This was deactivated because it doesn't work correctly;
# the selection needs to be made on two objects, but currently
# it only selects one.