summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/action.go b/action.go
index 9ed5360..cfd629f 100644
--- a/action.go
+++ b/action.go
@@ -28,13 +28,13 @@ func (me *TreeInfo) doAction(a widget.Action) {
return
}
if a.TablePB != nil {
- log.Log(TREEWARN, "tree: got a TablePB")
+ log.Log(TREE, "tree: got a TablePB")
me.doTable(a)
return
}
if a.WidgetId == 0 {
if treeRoot == nil {
- log.Log(TREEWARN, "tree.doAction() yes, treeRoot is nil. add here")
+ log.Log(TREE, "tree.doAction() yes, treeRoot is nil. add here")
}
}
n := treeRoot.FindWidgetId(a.WidgetId)
@@ -139,7 +139,6 @@ func (me *TreeInfo) doAction(a widget.Action) {
} else {
me.Hide(n)
}
- log.Info("tree: todo: remove child from parent")
me.DeleteNode(n)
// now remove the child from the parent
default: