summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 5ec8bdb..bffbee9 100644
--- a/main.go
+++ b/main.go
@@ -22,7 +22,8 @@ func init() {
me.prefix = "wit"
// Populates the top of the binary tree
- me.rootNode = addNode("guiBinaryTree")
+ me.rootNode = addNode()
+ me.rootNode.progname = "guiBinaryTree"
me.rootNode.WidgetType = widget.Root
me.rootNode.hidden = false // always send the rootNode to the toolkits