summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node.go')
-rw-r--r--node.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.go b/node.go
index b0bad5c..d4be30b 100644
--- a/node.go
+++ b/node.go
@@ -43,6 +43,7 @@ func (n *Node) New(title string, t toolkit.WidgetType, custom func()) *Node {
func addNode(title string) *Node {
n := new(Node)
n.Name = title
+ n.Text = title
n.widget.Name = title
n.id = Config.counter
n.widget.Id = n.id