Since when the search via the input is used, the dialog is closed, I suggest 
to auto-close it when a nearby-ATC button is hit as well, as per the patch 
below.

Alternatively, we can rename the OK button to "Search" and DON'T have it 
auto-close the dialog. The question is whether mostly you use the dialog for 
looking up the frequencies for a particular single airport only (like me - 
then the patch is the way to go), or for several airports in a row (then the 
alternative approach should be used).

V.
Index: ../data/gui/dialogs/atc-freq-search.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/gui/dialogs/atc-freq-search.xml,v
retrieving revision 1.3
diff -u -r1.3 atc-freq-search.xml
--- ../data/gui/dialogs/atc-freq-search.xml     5 Nov 2005 18:42:28 -0000       
1.3
+++ ../data/gui/dialogs/atc-freq-search.xml     6 Nov 2005 18:41:22 -0000
@@ -22,6 +22,9 @@
                                <property>/sim/atc/freq-airport</property>
                                <value type="string">ICAO</value>
                        </binding>
+                       <binding>
+                               <command>dialog-close</command>
+                       </binding>
                </button-template>
        </group>
 

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to