From 23b0c2fe95dbfaa4a8ce603b56b75d12d2c17d8c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 18 Oct 2012 16:19:38 -0700 Subject: [PATCH] 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 --- altosui/AltosFlashUI.java | 2 +- altosui/AltosSiteMap.java | 2 +- 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); -- 2.30.2