diff options
| author | Jeff Carr <[email protected]> | 2025-03-03 01:00:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-03 01:00:26 -0600 |
| commit | 24475c41733173d479c23eab2b134c016c507f73 (patch) | |
| tree | 3c581f2d138bb8cb3798ef1b6ae581e665ada4a4 /action.go | |
| parent | 7a1124c6f5920026eef5dc9730d77531ddb0b484 (diff) | |
more on toolkit init()
Diffstat (limited to 'action.go')
| -rw-r--r-- | action.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ func (me *TreeInfo) doAction(a widget.Action) { if a.ActionType == widget.ToolkitInit { log.Log(TREEWARN, "tree.doAction() trapped ToolkitInit finally!") a.WidgetType = widget.Root - AddNode(&a) + n := AddNode(&a) + me.Add(n) log.Log(TREEWARN, "tree.doAction() init() me.treeRoot") if me.ToolkitInit != nil { log.Log(TREEWARN, "tree.doAction() doing ToolkitInit()") |
