[FEM] fix bug in potential constraint task panel

- fix logic of a checkbox
This commit is contained in:
Uwe
2023-02-11 04:12:37 +01:00
parent 6e67ec9cc0
commit ee4beba619
2 changed files with 4 additions and 0 deletions

View File

@@ -90,6 +90,9 @@
<property name="text">
<string>Vector Field</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">

View File

@@ -81,6 +81,7 @@ class _TaskPanel(object):
self._obj.AV_im_2_Disabled and \
self._obj.AV_im_3_Disabled:
self._vectorField_visibility(False)
self._paramWidget.vectorFieldBox.setChecked(False)
QtCore.QObject.connect(
self._paramWidget.vectorFieldBox,
QtCore.SIGNAL("toggled(bool)"),