summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 02:52:57 -0600
committerJeff Carr <[email protected]>2024-01-19 02:52:57 -0600
commitc2a563ae37d11f8374df6c7f00661369f4d5a76f (patch)
tree433cb4dd464882258e04a57330113a9f385a96b4 /button.go
parentd9a04e92fc4211ae4c68e030a72510caadd4be66 (diff)
cleanups after node work
Signed-off-by: Jeff Carr <[email protected]>
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