Fixed input field update again.
This commit is contained in:
committed by
Yorik van Havre
parent
1858793512
commit
a93bda2805
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user