Draft: trying different method to solve encoding problem

This commit is contained in:
Yorik van Havre
2017-06-26 23:51:45 -03:00
parent de9dbc453f
commit 859b94e311
2 changed files with 2 additions and 2 deletions

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:").decode("utf8")+self.ui.wplabel.text())
self.ui.wplabel.setToolTip(translate("draft", "Current working plane:",utf8_decode=True)+self.ui.wplabel.text())
FreeCADGui.doCommandGui("FreeCADGui.Snapper.setGrid()")
#---------------------------------------------------------------------------