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:
lorenz_l
2016-04-14 04:00:13 +02:00
committed by wmayer
parent a7f88e4bca
commit 0af9e1802e

View File

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