summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
committerJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
commit26b06253d540fbcac2ae1372aa7fc0b1089bab98 (patch)
tree9afc2600ce0633e85990f8376091d93fec7c6d3a /textbox.go
parent45ef7f37c4af0495ccf988f2f726aaea24a999e4 (diff)
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/textbox.go b/textbox.go
index 5877b32..5b416a7 100644
--- a/textbox.go
+++ b/textbox.go
@@ -5,9 +5,11 @@ import (
)
func (parent *Node) NewTextbox(name string) *Node {
- newNode := parent.newNode(name, toolkit.Textbox, func() {
+ newNode := parent.newNode(name, toolkit.Textbox)
+
+ newNode.Custom = func() {
log(debugGui, "NewTextbox changed =", name)
- })
+ }
a := newAction(newNode, toolkit.Add)
sendAction(a)