summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-31 14:02:43 -0600
committerJeff Carr <[email protected]>2024-01-31 14:02:43 -0600
commita84f361287c8c245365838df03c3f6c0eef1794f (patch)
tree46281fb75e8e9f098c8b659eefd57ca513296591 /main.go
parent96ed34f69b91d82a9ded703c43b28063f7508c85 (diff)
deprecate SetValue() as confusingv0.18.0
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index dcbf755..dc43d26 100644
--- a/main.go
+++ b/main.go
@@ -143,7 +143,7 @@ func (n *Node) gotUserEvent(a widget.Action) {
default:
}
- n.SetValue(a.Value)
+ n.value = a.Value
log.Log(CHANGE, "gotUserEvent() n.Bool() =", n.Bool(), "n.String() =", n.String())
if n.Custom == nil {
log.Log(CHANGE, "a Custom() function was not set for this widget")