summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-12 00:01:14 -0700
committerKeith Packard <keithp@keithp.com>2017-05-19 21:41:40 -0700
commitbbe0c2e0a3216f40f49af34b756330ba28d7c7e1 (patch)
tree96e903b50e3c6eaba03d89ad8b89b43e03143c01 /altosui/AltosUI.java
parent96de483d745ea0ef95326de2847a2534f7057846 (diff)
altosui: Hacks to plug into the new graph stuff
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r--altosui/AltosUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index 72c3c161..7caaa3e9 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -348,7 +348,7 @@ public class AltosUI extends AltosUIFrame {
if (states == null)
return;
try {
- new AltosGraphUI(states, chooser.file());
+ new AltosGraphUI(states, new AltosEepromRecordSet(new FileReader(chooser.file())), chooser.file());
} catch (InterruptedException ie) {
} catch (IOException ie) {
}
@@ -487,7 +487,7 @@ public class AltosUI extends AltosUIFrame {
if (states == null)
return false;
try {
- new AltosGraphUI(states, file);
+ new AltosGraphUI(states, new AltosEepromRecordSet(new FileReader(file)), file);
return true;
} catch (InterruptedException ie) {
} catch (IOException ie) {