Location in air dialog: disable impossible/unused option combinations.
This commit is contained in:
parent
2ff460141d
commit
3bf75cd248
1 changed files with 8 additions and 3 deletions
|
@ -51,13 +51,13 @@
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<empty><stretch>1</stretch></empty>
|
<empty><stretch>1</stretch></empty>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>Position Aircraft In Air</label>
|
<label>Position Aircraft In Air</label>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
<empty><stretch>1</stretch></empty>
|
<empty><stretch>1</stretch></empty>
|
||||||
|
|
||||||
<button>
|
<button>
|
||||||
<pref-width>16</pref-width>
|
<pref-width>16</pref-width>
|
||||||
|
@ -225,23 +225,26 @@
|
||||||
<row>0</row><col>0</col>
|
<row>0</row><col>0</col>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
<label>Distance (nm):</label>
|
<label>Distance (nm):</label>
|
||||||
|
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
|
||||||
</text>
|
</text>
|
||||||
<input>
|
<input>
|
||||||
<row>0</row><col>1</col>
|
<row>0</row><col>1</col>
|
||||||
<property>/sim/presets/offset-distance-nm</property>
|
<property>/sim/presets/offset-distance-nm</property>
|
||||||
|
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<row>0</row><col>2</col>
|
<row>0</row><col>2</col>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
<label>Azimuth (deg):</label>
|
<label>Azimuth (deg):</label>
|
||||||
|
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
|
||||||
</text>
|
</text>
|
||||||
<input>
|
<input>
|
||||||
<row>0</row><col>3</col>
|
<row>0</row><col>3</col>
|
||||||
<property>/sim/presets/offset-azimuth-deg</property>
|
<property>/sim/presets/offset-azimuth-deg</property>
|
||||||
|
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<row>1</row><col>0</col>
|
<row>1</row><col>0</col>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
|
@ -276,9 +279,11 @@
|
||||||
<row>2</row><col>2</col>
|
<row>2</row><col>2</col>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
<label>Heading (deg):</label>
|
<label>Heading (deg):</label>
|
||||||
|
<enable><not><property>/sim/gui/dialogs/location-in-air/airport</property></not></enable>
|
||||||
</text>
|
</text>
|
||||||
<input>
|
<input>
|
||||||
<row>2</row><col>3</col>
|
<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>
|
<property>/sim/presets/heading-deg</property>
|
||||||
</input>
|
</input>
|
||||||
</group>
|
</group>
|
||||||
|
|
Loading…
Add table
Reference in a new issue