altosuilib: Set the icon and title of the telemetry scanning dialog
[fw/altos] / altosuilib / AltosScanUI.java
index 1b30f99d64a092532e7eb9de702d17d0461b12fa..59831461eab85eea113644f73ad5169652f567c6 100644 (file)
@@ -254,9 +254,6 @@ public class AltosScanUI
        void next() throws InterruptedException, TimeoutException {
                reader.set_monitor(false);
 
-               /* Let any pending input from the last configuration drain out */
-               Thread.sleep(100);
-
                if (select_rate) {
                        boolean wrapped = false;
                        do {
@@ -447,6 +444,7 @@ public class AltosScanUI
        }
 
        public AltosScanUI(AltosUIFrame in_owner, boolean in_select_telemetry) {
+               super(in_owner, "Scan Telemetry", false);
 
                owner = in_owner;
                select_telemetry = in_select_telemetry;