add decode utf8 PathMachine.py

This commit is contained in:
Jonathan Wiedemann 2016-05-18 17:20:29 +02:00
parent 71606352ee
commit 9ef4a2e21b

View File

@ -109,7 +109,7 @@ class Machine:
class _ViewProviderMachine:
def __init__(self,vobj):
vobj.Proxy = self
vobj.addProperty("App::PropertyBool","ShowLimits","Path",translate("ShowMinMaxTravel","Switch the machine max and minimum travel bounding box on/off"))
vobj.addProperty("App::PropertyBool","ShowLimits","Path",translate("ShowMinMaxTravel","Switch the machine max and minimum travel bounding box on/off".decode("utf8")))
mode = 2
vobj.setEditorMode('LineWidth',mode)
vobj.setEditorMode('MarkerColor',mode)