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 10c2e08..82f6289 100644
--- a/tab.go
+++ b/tab.go
@@ -31,7 +31,7 @@ func (n *Node) NewTab(text string) *Node {
newNode := n.newNode(text, toolkit.Tab, nil)
a := newAction(newNode, toolkit.Add)
- sendAction(a, newNode, n)
+ sendAction(a)
// by default, create a box inside the tab
// TODO: allow this to be configurable