diff options
author | Keith Packard <keithp@keithp.com> | 2011-04-19 08:43:40 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-04-19 08:43:40 -0700 |
commit | 17f38e045fcd8ca0224095c0b2b7b098df77a8d8 (patch) | |
tree | 07c49d1151a54d3176f2356b55b6f9f129305b9c /altosui/AltosFlightUI.java | |
parent | f249e5926f5fd9f86c41e7f0a414193533d4d8b0 (diff) |
altosui: Use persistent list of bluetooth devices for device dialogs
Store a list of known bluetooth devices as preferences. Always include
those in device dialogs with an option to go browse for more devices
in both the device dialog and the Configure AltosUI dialog.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFlightUI.java')
-rw-r--r-- | altosui/AltosFlightUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosFlightUI.java b/altosui/AltosFlightUI.java index 66dcdad5..eb6c6d9d 100644 --- a/altosui/AltosFlightUI.java +++ b/altosui/AltosFlightUI.java @@ -122,7 +122,7 @@ public class AltosFlightUI extends JFrame implements AltosFlightDisplay { JComboBox telemetries; public AltosFlightUI(AltosVoice in_voice, AltosFlightReader in_reader, final int serial) { - AltosPreferences.init(this); + AltosPreferences.set_component(this); voice = in_voice; reader = in_reader; |