mirror of https://gitlab.com/pamhyr/pamhyr2
Mesh: activate button in toolbar only when a study is selected
parent
c170dbc46c
commit
059d7203a9
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue