1
0
Fork 0

Location in air dialog: disable impossible/unused option combinations.

This commit is contained in:
Gijs de Rooy 2013-04-19 18:26:23 +02:00
parent 2ff460141d
commit 3bf75cd248

View file

@ -225,23 +225,26 @@
<row>0</row><col>0</col>
<halign>right</halign>
<label>Distance (nm):</label>
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
</text>
<input>
<row>0</row><col>1</col>
<property>/sim/presets/offset-distance-nm</property>
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
</input>
<text>
<row>0</row><col>2</col>
<halign>right</halign>
<label>Azimuth (deg):</label>
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
</text>
<input>
<row>0</row><col>3</col>
<property>/sim/presets/offset-azimuth-deg</property>
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
</input>
<text>
<row>1</row><col>0</col>
<halign>right</halign>
@ -276,9 +279,11 @@
<row>2</row><col>2</col>
<halign>right</halign>
<label>Heading (deg):</label>
<enable><not><property>/sim/gui/dialogs/location-in-air/airport</property></not></enable>
</text>
<input>
<row>2</row><col>3</col>
<enable><not><property>/sim/gui/dialogs/location-in-air/airport</property></not></enable>
<property>/sim/presets/heading-deg</property>
</input>
</group>