From 9ef4a2e21b43110e05ba27cccc375a723888a33f Mon Sep 17 00:00:00 2001 From: Jonathan Wiedemann Date: Wed, 18 May 2016 17:20:29 +0200 Subject: [PATCH] add decode utf8 PathMachine.py --- src/Mod/Path/PathScripts/PathMachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathMachine.py b/src/Mod/Path/PathScripts/PathMachine.py index 614314cb8..8465c35ee 100644 --- a/src/Mod/Path/PathScripts/PathMachine.py +++ b/src/Mod/Path/PathScripts/PathMachine.py @@ -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)