From 7989ed908c75651df37bded92a0c89f8f6bdd87e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Jan 2024 22:17:02 -0600 Subject: api update Signed-off-by: Jeff Carr --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.go') 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 -- cgit v1.2.3