handle ToolkitClose() in plugins

This commit is contained in:
Jeff Carr 2025-09-03 17:33:08 -05:00
parent 5437b68670
commit 404e2ef116
1 changed files with 3 additions and 0 deletions

View File

@ -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)