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 82f6289..95d9fa4 100644
--- a/tab.go
+++ b/tab.go
@@ -28,7 +28,7 @@ func (n *Node) NewTab(text string) *Node {
// go up the binary tree until we find a window widget to add a tab too
return n.parent.NewTab(text)
}
- newNode := n.newNode(text, toolkit.Tab, nil)
+ newNode := n.newNode(text, toolkit.Tab)
a := newAction(newNode, toolkit.Add)
sendAction(a)