1
0
Fork 0

Add toggle for rear groundservices2

This commit is contained in:
Jonathan Redpath 2022-08-05 14:35:44 +01:00
parent eaab6018e2
commit 1c4d982778
2 changed files with 15 additions and 2 deletions

View file

@ -251,12 +251,25 @@
<live>true</live> <live>true</live>
</checkbox> </checkbox>
<checkbox>
<label>Enable Rear Catering Truck</label>
<halign>left</halign>
<property>/services/catering-rear/enable</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<button> <button>
<legend>Toggle Catering</legend> <legend>Toggle Catering</legend>
<halign>center</halign> <halign>center</halign>
<padding>5</padding> <padding>5</padding>
<enable> <enable>
<or>
<property>/services/catering/enable</property> <property>/services/catering/enable</property>
<property>/services/catering-rear/enable</property>
</or>
</enable> </enable>
<binding> <binding>
<condition> <condition>

View file

@ -90,7 +90,7 @@
<path>Aircraft/A320-family/Models/Services/Catering/L_T_VolvoFM-4_5m-set.xml</path> <path>Aircraft/A320-family/Models/Services/Catering/L_T_VolvoFM-4_5m-set.xml</path>
<condition> <condition>
<equals> <equals>
<property>services/catering/enable</property> <property>services/catering-rear/enable</property>
<value>1</value> <value>1</value>
</equals> </equals>
</condition> </condition>