diff options
Diffstat (limited to 'tab.go')
| -rw-r--r-- | tab.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -11,8 +11,11 @@ func (n *Node) NewTab(text string) *Node { newNode := n.New(text, toolkit.Tab, nil) var a toolkit.Action - a.Type = toolkit.Add + a.ActionType = toolkit.Add + a.Name = text + a.Text = text newaction(&a, newNode, n) - return newNode + newBox := newNode.NewBox(text, true) + return newBox } |
