summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug.go b/debug.go
index 04f2a90..9419a9d 100644
--- a/debug.go
+++ b/debug.go
@@ -7,16 +7,16 @@ import (
"go.wit.com/widget"
)
-func (w *guiWidget) dumpTree() {
+func (w *guiWidget) dumpTree(s string) {
// log.Log(ERROR, "dumpTree w", w.node.WidgetId, w.WidgetType, w.String())
if w == nil {
log.Log(ERROR, "dumpTree w.TK == nil", w.node.WidgetId, w.WidgetType, w.String())
return
}
- w.showWidgetPlacement("dumpTree()")
+ w.showWidgetPlacement("dumpTree() " + s)
for _, child := range w.children {
- child.dumpTree()
+ child.dumpTree(s)
}
}