Skip to content

Commit 745132e

Browse files
committed
Fem: Use expression binding with the constraint tie Tolerance property
1 parent 9dafb71 commit 745132e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Mod/Fem/femtaskpanels/task_constraint_tie.py

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def recompute_and_set_back_all(self):
119119
def init_parameter_widget(self):
120120
self.tolerance = self.obj.Tolerance
121121
self.adjust = self.obj.Adjust
122+
FreeCADGui.ExpressionBinding(self.parameterWidget.spb_tolerance)\
123+
.bind(self.obj, "Tolerance")
122124
self.parameterWidget.spb_tolerance.setProperty("value", self.tolerance)
123125
self.parameterWidget.ckb_adjust.setChecked(self.adjust)
124126

0 commit comments

Comments
 (0)