PathHelix: Fix locale issue for Gui::InputField setText() method

This commit is contained in:
Lorenz Hüdepohl
2017-02-13 19:13:09 +01:00
committed by wmayer
parent 1875c52f13
commit 7dc026ec58

View File

@@ -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: