summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
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)