Disable OK button when no runway is set.
This commit is contained in:
parent
edb789a684
commit
503fa5ece2
1 changed files with 14 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue