diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-12 00:01:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-05-19 21:41:40 -0700 |
commit | bbe0c2e0a3216f40f49af34b756330ba28d7c7e1 (patch) | |
tree | 96e903b50e3c6eaba03d89ad8b89b43e03143c01 /altosui/AltosUI.java | |
parent | 96de483d745ea0ef95326de2847a2534f7057846 (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.java | 4 |
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) { |