first cut at turnon scripts for EasyTimer v2
[fw/altos] / altosui / AltosIdleMonitorUI.java
index 26bc06e40f648ba4aa8df345826d685c4fe57106..ba894c71885663a4a2962c719718c73f25c2a369 100644 (file)
@@ -209,7 +209,7 @@ public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
 
                device = AltosDeviceUIDialog.show(in_owner, Altos.product_any);
                remote = false;
-               if (!device.matchProduct(Altos.product_altimeter))
+               if (device.matchProduct(Altos.product_basestation))
                        remote = true;
 
                serial = device.getSerial();
@@ -226,7 +226,7 @@ public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
                /* We let the user set the freq/callsign, so don't bother with the cancel dialog */
                link.set_cancel_enable(false);
 
-               bag = getContentPane();
+               bag = getScrollablePane();
                bag.setLayout(new GridBagLayout());
 
                setTitle(String.format("AltOS %s", device.toShortString()));