From: Keith Packard Date: Thu, 18 Oct 2012 23:19:38 +0000 (-0700) Subject: altosui: Re-add a couple of "unused" values X-Git-Tag: 1.1.9.1^2 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=23b0c2fe95dbfaa4a8ce603b56b75d12d2c17d8c altosui: Re-add a couple of "unused" values The values in these calls aren't needed, but the side-effects are, so add them back in. Signed-off-by: Keith Packard --- diff --git a/altosui/AltosFlashUI.java b/altosui/AltosFlashUI.java index f8c24b16..3ccfa76c 100644 --- a/altosui/AltosFlashUI.java +++ b/altosui/AltosFlashUI.java @@ -286,7 +286,7 @@ public class AltosFlashUI if (!select_source_file()) return; build_dialog(); - //flash_task f = new flash_task(this); + flash_task f = new flash_task(this); } static void show(JFrame frame) { diff --git a/altosui/AltosSiteMap.java b/altosui/AltosSiteMap.java index 3ea4d0fd..4e939b88 100644 --- a/altosui/AltosSiteMap.java +++ b/altosui/AltosSiteMap.java @@ -421,7 +421,7 @@ public class AltosSiteMap extends JScrollPane implements AltosFlightDisplay { public AltosSiteMap(int in_radius) { radius = in_radius; - //GrabNDrag scroller = new GrabNDrag(comp); + GrabNDrag scroller = new GrabNDrag(comp); comp.setLayout(layout); diff --git a/altosui/AltosUIPreferences.java b/altosui/AltosUIPreferences.java index a28c07b0..f6ee7e06 100644 --- a/altosui/AltosUIPreferences.java +++ b/altosui/AltosUIPreferences.java @@ -163,7 +163,7 @@ public class AltosUIPreferences extends AltosPreferences { } } public static void set_serial_debug(boolean new_serial_debug) { - AltosLink.set_debug(serial_debug); + AltosLink.set_debug(new_serial_debug); synchronized (backend) { serial_debug = new_serial_debug; backend.putBoolean(serialDebugPreference, serial_debug);