Draft: Fixed encoding error

This commit is contained in:
Yorik van Havre
2017-06-24 20:55:40 -03:00
parent 0768ae99cf
commit 3ada1416ba

View File

@@ -435,7 +435,7 @@ class SelectPlane(DraftTool):
elif type(arg).__name__ == 'Vector':
plv = 'd('+str(arg.x)+','+str(arg.y)+','+str(arg.z)+')'
self.ui.wplabel.setText(plv+suffix)
self.ui.wplabel.setToolTip(translate("draft", "Current working plane:")+self.ui.wplabel.text())
self.ui.wplabel.setToolTip(translate("draft", "Current working plane:").decode("utf8")+self.ui.wplabel.text())
FreeCADGui.doCommandGui("FreeCADGui.Snapper.setGrid()")
#---------------------------------------------------------------------------