summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/action.go b/action.go
index 9005514..8f73c03 100644
--- a/action.go
+++ b/action.go
@@ -79,9 +79,12 @@ func doAction(a widget.Action) {
n.State.Pad = false
case widget.Delete:
log.Warn("doAction() TODO: Delete()")
- // n.Delete()
+ n.DeleteNode()
case widget.Move:
log.Warn("doAction() TODO: Move()")
+ case widget.ToolkitClose:
+ log.Warn("doAction() toolkit closed. are the channels cleand up?")
+ return
default:
log.Log(ERROR, "doAction() Unknown =", a.ActionType, a.WidgetType)
}