Skip to content

Commit 047eb05

Browse files
committed
fixed inputBox script
1 parent d312d68 commit 047eb05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/script/InterpreterAddData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import ui.PaintPanel;
44
import actions.AddDataDisplayBoxAction;
5-
import actions.AddTextBoxAction;
5+
import actions.AddDataInputBoxAction;
66

77
/**
88
* Interpret and execute 'add data' scripts
@@ -43,7 +43,7 @@ private void performAddDisplayBoxAction() {
4343
}
4444

4545
private void performAddInputBoxAction() {
46-
AddTextBoxAction action = new AddTextBoxAction(panel);
46+
AddDataInputBoxAction action = new AddDataInputBoxAction(panel);
4747
action.performAction();
4848
}
4949
}

0 commit comments

Comments
 (0)