1
0
Fork 0

Add ability to specify TACAN frequency on radios dialog.

This will only work for valid VORTAC or TACAN stations.

Not all frequencies can be mapped to VOR frequency range. These will be displayed (and entered) without a decimal place to differentiate them.
This commit is contained in:
Richard Harrison 2018-09-15 18:35:37 +02:00
parent 58f8f9a961
commit acb8fea841

View file

@ -503,6 +503,16 @@
</binding>
</input>
<button>
<row>6</row>
<col>4</col>
<colspan>3</colspan>
<legend>ATC Services in range</legend>
<binding>
<command>ATC-freq-search</command>
</binding>
</button>
</group>
@ -600,20 +610,23 @@
<empty>
<stretch>true</stretch>
</empty>
<button>
<legend>ATC Services in range</legend>
<input>
<name>tacan-freq</name>
<width>75</width>
<height>25</height>
<label>MHz</label>
<live>true</live>
<property>/instrumentation/tacan/frequencies/selected-mhz</property>
<binding>
<command>ATC-freq-search</command>
<command>dialog-apply</command>
<object-name>tacan-freq</object-name>
</binding>
</button>
<text>
<label> </label>
</text>
</input>
<empty>
<stretch>true</stretch>
</empty>
</group>
<!-- of TACAN group -->
<!-- transponder controls -->
<hrule/>