From 07afe311b68857a23300f60e4b94e0a52fa72d9f Mon Sep 17 00:00:00 2001 From: Patrick Hammer <patham9@gmail.com> Date: Thu, 30 Aug 2018 15:09:15 -0400 Subject: [PATCH] Fix: NARControls: Load experience file, the button did nothing except writing a TODO message before. :D --- src/main/java/org/opennars/gui/NARControls.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opennars/gui/NARControls.java b/src/main/java/org/opennars/gui/NARControls.java index 8702c5c3a..8cdc3a858 100644 --- a/src/main/java/org/opennars/gui/NARControls.java +++ b/src/main/java/org/opennars/gui/NARControls.java @@ -243,7 +243,7 @@ public class NARControls extends JPanel implements ActionListener, EventObserver String filePath = directoryName + fileName; try { - System.out.println("TODO load file"); + nar.addInputFile(filePath); //nar.addInput(new TextInput(new File(filePath))); } catch (Exception ex) { ex.printStackTrace(); -- GitLab