From e38d0ada6c080805a55bc1c2c72c3023ef60a844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCdepohl?= Date: Mon, 13 Feb 2017 19:13:09 +0100 Subject: [PATCH] PathHelix: Fix locale issue for Gui::InputField setText() method --- src/Mod/Path/PathScripts/PathHelix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathHelix.py b/src/Mod/Path/PathScripts/PathHelix.py index 72fb10cc5e..ccd9c2363d 100644 --- a/src/Mod/Path/PathScripts/PathHelix.py +++ b/src/Mod/Path/PathScripts/PathHelix.py @@ -588,7 +588,8 @@ class TaskPanel(object): label = QtGui.QLabel(labelstring) label.setToolTip(self.obj.getDocumentationOfProperty(property)) - widget.setText(str(getattr(self.obj, property))) + quantity = getattr(self.obj, property) + widget.setText(quantity.UserString) widget.setToolTip(self.obj.getDocumentationOfProperty(property)) if max: