[FEM] initial pressure: bind expression to QuantitySpinBox

This commit is contained in:
Uwe
2022-08-15 11:54:33 +02:00
parent bc2f04889b
commit baf294a5a6

View File

@@ -103,6 +103,8 @@ class _TaskPanel(object):
def _initParamWidget(self):
self._paramWidget.pressureQSB.setProperty(
'value', self._obj.Pressure)
FreeCADGui.ExpressionBinding(
self._paramWidget.pressureQSB).bind(self._obj, "Pressure")
def _applyWidgetChanges(self):
pressure = None