1
0
Fork 0

#151 Merged main gear left and right chokes under a single checkbox.

This commit is contained in:
Vladimir Jelovac 2020-06-15 23:33:45 +02:00
parent b9783e78c9
commit af32913f50

View file

@ -45,56 +45,54 @@
</hrule> </hrule>
</group> </group>
<checkbox> <group>
<label>Nose Gear Chock</label> <layout>hbox</layout>
<halign>left</halign>
<enable>
<and>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</and>
</enable>
<property>/services/chocks/nose</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox> <group>
<label>Main Left Gear Chock</label> <layout>vbox</layout>
<halign>left</halign> <checkbox>
<enable> <label>Nose Gear Chock</label>
<and> <halign>left</halign>
<property>/gear/gear[0]/wow</property> <enable>
<property>/gear/gear[1]/wow</property> <and>
<property>/gear/gear[2]/wow</property> <property>/gear/gear[0]/wow</property>
</and> <property>/gear/gear[1]/wow</property>
</enable> <property>/gear/gear[2]/wow</property>
<property>/services/chocks/left</property> </and>
<binding> </enable>
<command>dialog-apply</command> <property>/services/chocks/nose</property>
</binding> <binding>
<live>true</live> <command>dialog-apply</command>
</checkbox> </binding>
<live>true</live>
</checkbox>
</group>
<checkbox> <group>
<label>Main Right Gear Chock</label> <layout>vbox</layout>
<halign>left</halign> <checkbox>
<enable> <label>Main Gear Chock</label>
<and> <halign>left</halign>
<property>/gear/gear[0]/wow</property> <enable>
<property>/gear/gear[1]/wow</property> <and>
<property>/gear/gear[2]/wow</property> <property>/gear/gear[0]/wow</property>
</and> <property>/gear/gear[1]/wow</property>
</enable> <property>/gear/gear[2]/wow</property>
<property>/services/chocks/right</property> </and>
<binding> </enable>
<command>dialog-apply</command> <binding>
</binding> <command>property-toggle</command>
<live>true</live> <property>/services/chocks/left</property>
</checkbox> </binding>
<binding>
<command>property-toggle</command>
<property>/services/chocks/right</property>
</binding>
<live>true</live>
</checkbox>
</group>
</group>
</group> </group>
<group> <group>