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 837f2eabb8
commit e38d0ada6c

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: