summaryrefslogtreecommitdiff
path: root/label.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
committerJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
commit26b06253d540fbcac2ae1372aa7fc0b1089bab98 (patch)
tree9afc2600ce0633e85990f8376091d93fec7c6d3a /label.go
parent45ef7f37c4af0495ccf988f2f726aaea24a999e4 (diff)
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'label.go')
-rw-r--r--label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/label.go b/label.go
index 3adab5b..4525769 100644
--- a/label.go
+++ b/label.go
@@ -5,7 +5,7 @@ import (
)
func (parent *Node) NewLabel(text string) *Node {
- newNode := parent.newNode(text, toolkit.Label, nil)
+ newNode := parent.newNode(text, toolkit.Label)
a := newAction(newNode, toolkit.Add)
sendAction(a)
return newNode