summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-27 16:12:31 -0700
committerKeith Packard <keithp@keithp.com>2017-05-27 16:12:31 -0700
commit855a7d243a5a85728a7b23fdfe9485d4ecaf71cf (patch)
tree19a8189f462119b9e9790f2768c7bcd8480d41b5 /altosui/AltosUI.java
parentb6b5c64f93fa56bcb22ea1c4279e4f754e6e6f1c (diff)
telegps: Get telegps application working again
Many minor API tweaks Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r--altosui/AltosUI.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index e7dedffd..b302b670 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -311,12 +311,10 @@ public class AltosUI extends AltosUIFrame {
AltosUI.this);
AltosRecordSet set = chooser.runDialog();
-/* XXX fixme */
-// if (states != null) {
-// AltosFlightReader reader = new AltosReplayReader(states.iterator(),
-// chooser.file());
-// new AltosFlightUI(voice, reader);
-// }
+ if (set != null) {
+ AltosReplayReader reader = new AltosReplayReader(set, chooser.file());
+ new AltosFlightUI(voice, reader);
+ }
}
/* Connect to TeleMetrum, either directly or through
@@ -329,6 +327,7 @@ public class AltosUI extends AltosUIFrame {
private static AltosFlightSeries make_series(AltosRecordSet set) {
AltosFlightSeries series = new AltosFlightSeries(set.cal_data());
set.capture_series(series);
+ series.finish();
return series;
}