summaryrefslogtreecommitdiff
path: root/tab.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
committerJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
commitda6a4363226f14aa893be02cb4a73cbf34fd77e7 (patch)
tree8f1f2c5d59e72961c87ff9c9ede0a4b3f2ab9c3f /tab.go
parentfa0718ff48a2ac2f8b54aed3060101f159484c86 (diff)
andlabs: the binary tree limps along again
Signed-off-by: Jeff Carr <[email protected]>
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