summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromManage.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-12 14:28:30 +0900
committerKeith Packard <keithp@keithp.com>2013-11-12 14:28:30 +0900
commit45db3076b257adcf2c9f69ed0927f09d94af7a50 (patch)
tree475a0ba7758949a5863c7efb8c8ba46b96e802ed /altosui/AltosEepromManage.java
parent6aa99c160f0695eb25ccc0598e4c36224c89dab4 (diff)
altosui: Make AltosEepromDownload not swing-dependent
Will move to altoslib Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromManage.java')
-rw-r--r--altosui/AltosEepromManage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/altosui/AltosEepromManage.java b/altosui/AltosEepromManage.java
index b2d8a130..da0a9777 100644
--- a/altosui/AltosEepromManage.java
+++ b/altosui/AltosEepromManage.java
@@ -133,11 +133,13 @@ public class AltosEepromManage implements ActionListener {
for (AltosEepromLog flight : flights)
any_selected = any_selected || flight.selected;
if (any_selected) {
- download = new AltosEepromDownload(frame,
+ AltosEepromMonitorUI monitor = new AltosEepromMonitorUI(frame);
+ monitor.addActionListener(this);
+ serial_line.set_frame(frame);
+ download = new AltosEepromDownload(monitor,
serial_line,
remote,
flights);
- download.addActionListener(this);
/*
* Start flight log download
*/