From a33f71c8b3a76374db2c4c8e731ab9fe3630f7c2 Mon, 16 Jan 2017 12:36:57 +0100
From: Michael Kruschinsky <mk@mysmk.de>
Date: Mon, 16 Jan 2017 12:06:38 +0100
Subject: [PATCH] 0003-Add-PathHelix_Fix_for_x10_input_field_issue_017


Signed-off-by: Michael Kruschinsky <mk@mysmk.de>
diff --git a/src/Mod/Path/PathScripts/PathHelix.py b/src/Mod/Path/PathScripts/PathHelix.py
index db8ecd7..38ac501 100644
--- a/src/Mod/Path/PathScripts/PathHelix.py
+++ b/src/Mod/Path/PathScripts/PathHelix.py
@@ -587,7 +587,9 @@
                 label = QtGui.QLabel(labelstring)
                 label.setToolTip(self.obj.getDocumentationOfProperty(property))
 
-            widget.setText(str(getattr(self.obj, property)))
+            # Fix for x10: replace dot with comma.
+            # it's the first fix, i think there was a better one, but it works.
+            widget.setText(str(getattr(self.obj, property)).replace('.', ','))
             widget.setToolTip(self.obj.getDocumentationOfProperty(property))
 
             if max:
