summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/debug.go b/debug.go
index acc249d..1fe2fe8 100644
--- a/debug.go
+++ b/debug.go
@@ -140,9 +140,8 @@ func (n *Node) dumpWidget(b bool) string {
for i := 0; i < listChildrenDepth; i++ {
tabs = tabs + defaultPadding
}
- d = tabs + d
- logindent(b, listChildrenDepth, defaultPadding, n.id, info)
- return d
+ logindent(b, listChildrenDepth, defaultPadding, d)
+ return tabs + d
}
// func (n *Node) ListChildren(dump bool, dropdown *Node, mapNodes map[string]*Node) {