1
0
Fork 0

Disable OK button when no runway is set.

This commit is contained in:
Gijs de Rooy 2012-03-31 17:07:25 +02:00
parent edb789a684
commit 503fa5ece2

View file

@ -6,13 +6,13 @@
<group>
<layout>hbox</layout>
<empty><stretch>1</stretch></empty>
<empty><stretch>1</stretch></empty>
<text>
<label>Position Aircraft On Ground</label>
</text>
<empty><stretch>1</stretch></empty>
<empty><stretch>1</stretch></empty>
<button>
<pref-width>16</pref-width>
@ -96,7 +96,7 @@
<input>
<row>0</row><col>2</col>
<live>true</live>
<live>true</live>
<property>/sim/gui/dialogs/location-on-ground/airport</property>
<binding>
<command>dialog-apply</command>
@ -211,6 +211,17 @@
<binding>
<command>dialog-apply</command>
</binding>
<enable>
<not>
<and>
<property>/sim/gui/dialogs/location-on-ground/use_runway</property>
<equals>
<property>/sim/gui/dialogs/location-on-ground/runway</property>
<value></value>
</equals>
</and>
</not>
</enable>
<binding>
<command>nasal</command>
<script>