diff options
Diffstat (limited to 'label.go')
| -rw-r--r-- | label.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,7 +8,9 @@ func (n *Node) NewLabel(text string) *Node { newNode := n.New(text, toolkit.Label, 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 |
