summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/textbox.go b/textbox.go
index 75703a2..f8208b9 100644
--- a/textbox.go
+++ b/textbox.go
@@ -11,9 +11,8 @@ func (n *Node) NewTextbox(name string) *Node {
var a toolkit.Action
a.ActionType = toolkit.Add
- // a.Widget = &newNode.widget
- // a.Where = &n.widget
- // action(&a)
+ a.Name = name
+ a.Text = name
newaction(&a, newNode, n)
return newNode