py3: error with decode translation.
translation already is a function defined in DraftTools and is responsable for right decoding. Not doing it twice.
This commit is contained in:
@@ -728,7 +728,7 @@ class BezCurve(Line):
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_BezCurve", "Creates a Bezier curve. CTRL to snap, SHIFT to constrain")}
|
||||
|
||||
def Activated(self):
|
||||
Line.Activated(self,name=translate("draft","BezCurve").decode("utf8"))
|
||||
Line.Activated(self,name=translate("draft","BezCurve"))
|
||||
if self.doc:
|
||||
self.bezcurvetrack = bezcurveTracker()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user