summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/debug.go b/debug.go
index 35b73b7..496fa72 100644
--- a/debug.go
+++ b/debug.go
@@ -38,10 +38,8 @@ func (n *Node) Dump() {
}
Indent(b, "NODE DUMP END")
- a := new(widget.Action)
- a.ActionType = widget.Dump
- a.WidgetId = n.id
- sendAction(a)
+ n.changed = true
+ sendAction(n, widget.Dump)
}
func Indent(b bool, a ...interface{}) {