summaryrefslogtreecommitdiff
path: root/tab.go
diff options
context:
space:
mode:
Diffstat (limited to 'tab.go')
-rw-r--r--tab.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tab.go b/tab.go
index 49632ee..41013bd 100644
--- a/tab.go
+++ b/tab.go
@@ -8,7 +8,7 @@ import (
// the 'tab' as a child
func (n *Node) NewTab(text string) *Node {
- newNode := n.New(text, toolkit.Tab, nil)
+ newNode := n.newNode(text, toolkit.Tab, nil)
var a toolkit.Action
a.ActionType = toolkit.Add