1
0
Fork 0

#151 Merging front and main gear chocks under a single checkbox

This commit is contained in:
Vladimir Jelovac 2020-06-16 19:14:19 +02:00
parent af32913f50
commit 11e15172a7

View file

@ -45,33 +45,10 @@
</hrule>
</group>
<group>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<checkbox>
<label>Nose Gear Chock</label>
<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>
</group>
<group>
<layout>vbox</layout>
<checkbox>
<label>Main Gear Chock</label>
<label>Enable Gear Chocks</label>
<halign>left</halign>
<enable>
<and>
@ -88,11 +65,13 @@
<command>property-toggle</command>
<property>/services/chocks/right</property>
</binding>
<binding>
<command>property-toggle</command>
<property>/services/chocks/nose</property>
</binding>
<live>true</live>
</checkbox>
</group>
</group>
</group>
<group>
@ -306,7 +285,6 @@
<live>true</live>
</checkbox>
<group>
<layout>hbox</layout>
<hrule>