summaryrefslogtreecommitdiff
path: root/tab.go
diff options
context:
space:
mode:
Diffstat (limited to 'tab.go')
-rw-r--r--tab.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/tab.go b/tab.go
index ce840b5..702e99f 100644
--- a/tab.go
+++ b/tab.go
@@ -10,6 +10,9 @@ import (
func (n *Node) NewTab(text string) *Node {
newNode := n.New(text, toolkit.Tab, nil)
- send(n, newNode)
+ var a toolkit.Action
+ a.Type = toolkit.Add
+ newaction(&a, newNode, n)
+
return newNode
}