summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--action.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.go b/action.go
index 10ecbaf..b097bfe 100644
--- a/action.go
+++ b/action.go
@@ -98,6 +98,7 @@ func (me *TreeInfo) doAction(a widget.Action) {
case widget.Delete:
me.Hide(n)
log.Info("tree: todo: remove child from parent")
+ n.DeleteNode()
// now remove the child from the parent
default:
log.Log(TREEWARN, "tree.Action() unknown action", a.ActionType, "on wId", a.WidgetId)