Mesh: activate button in toolbar only when a study is selected

mesh_tab
JeaDylan 2026-08-19 23:42:17 +02:00
parent c170dbc46c
commit 059d7203a9
2 changed files with 4 additions and 0 deletions

View File

@ -158,6 +158,7 @@ other_model_action = [
define_model_action = [ define_model_action = [
# Toolbar # Toolbar
"action_toolBar_network", "action_toolBar_geometry", "action_toolBar_network", "action_toolBar_geometry",
"action_toolBar_meshing",
"action_toolBar_boundary_cond", "action_toolBar_lateral_contrib", "action_toolBar_boundary_cond", "action_toolBar_lateral_contrib",
"action_toolBar_frictions", "action_toolBar_initial_cond", "action_toolBar_frictions", "action_toolBar_initial_cond",
# Menu # Menu

View File

@ -884,6 +884,9 @@
</property> </property>
</action> </action>
<action name="action_toolBar_meshing"> <action name="action_toolBar_meshing">
<property name="enabled">
<bool>false</bool>
</property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>