Fixed input field update again.

This commit is contained in:
Markus Lampert
2017-08-12 18:04:19 -07:00
committed by Yorik van Havre
parent 1858793512
commit a93bda2805
2 changed files with 3 additions and 0 deletions

View File

@@ -199,6 +199,7 @@ class TaskPanelPage(object):
value = FreeCAD.Units.Quantity(widget.text()).Value
if getattr(obj, prop) != value:
PathLog.debug("updateInputField(%s, %s): %.2f -> %.2f" % (obj.Label, prop, getattr(obj, prop), value))
setattr(obj, prop, value)
class TaskPanelBaseGeometryPage(TaskPanelPage):
DataObject = QtCore.Qt.ItemDataRole.UserRole