summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox.go')
-rw-r--r--checkbox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkbox.go b/checkbox.go
index 8ece750..2ab3f44 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -7,7 +7,7 @@ func (n *Node) Checked() bool {
}
func (n *Node) NewCheckbox(name string) *Node {
- newNode := n.New(name, toolkit.Checkbox, nil)
+ newNode := n.newNode(name, toolkit.Checkbox, nil)
var a toolkit.Action
a.ActionType = toolkit.Add