summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-03 17:33:08 -0500
committerJeff Carr <[email protected]>2025-09-03 17:33:08 -0500
commit404e2ef116b06525558439656816a9d56bb4f6ab (patch)
treee79f16df306e55ab7d283196438b40081380a7d8 /action.go
parent5437b686708070c0413c840bcd63122b294fb939 (diff)
handle ToolkitClose() in pluginsv0.22.35v0.22.34v0.22.33
Diffstat (limited to 'action.go')
-rw-r--r--action.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/action.go b/action.go
index 94a48f3..b6afb73 100644
--- a/action.go
+++ b/action.go
@@ -172,6 +172,9 @@ func (me *TreeInfo) doAction(a widget.Action) {
}
me.DeleteNode(n)
// now remove the child from the parent
+ case widget.ToolkitClose:
+ log.Info("tree.ToolkitClose()")
+ me.ToolkitClose()
default:
log.Log(TREEWARN, "tree.Action() unknown action", a.ActionType, "on wId", a.WidgetId)
// me.NodeAction(n, a.ActionType)