summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/button.go b/button.go
index 20a6541..abf1a1d 100644
--- a/button.go
+++ b/button.go
@@ -22,7 +22,7 @@ func newButton(p *tree.Node, n *tree.Node) {
newt.parent = ptk
b.OnClicked(func(*ui.Button) {
- me.myTree.DoUserEvent(n)
+ me.myTree.SendUserEvent(n)
})
n.TK = newt