summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.go b/action.go
index 484ba94..f2ef7e3 100644
--- a/action.go
+++ b/action.go
@@ -134,7 +134,7 @@ func (me *TreeInfo) doAction(a widget.Action) {
me.Hide(n)
}
log.Info("tree: todo: remove child from parent")
- n.DeleteNode()
+ me.DeleteNode(n)
// now remove the child from the parent
default:
log.Log(TREEWARN, "tree.Action() unknown action", a.ActionType, "on wId", a.WidgetId)