diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-18 16:19:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-18 16:19:38 -0700 |
commit | 23b0c2fe95dbfaa4a8ce603b56b75d12d2c17d8c (patch) | |
tree | 826cc4f40dec2b056b56a80181f0c7711b01e06b /altosui | |
parent | 05173876d5984a54929db486c9ce1e19bde79526 (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r-- | altosui/AltosFlashUI.java | 2 | ||||
-rw-r--r-- | altosui/AltosSiteMap.java | 2 | ||||
-rw-r--r-- | altosui/AltosUIPreferences.java | 2 |
3 files changed, 3 insertions, 3 deletions
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); |