summaryrefslogtreecommitdiff
path: root/spinner.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 15:04:01 -0600
committerJeff Carr <[email protected]>2024-02-05 15:04:01 -0600
commit9aafc45c0b50dba5048a58e0076002471a2c8306 (patch)
tree1a989d1b8945a2c9b4c7f60e675791bd0f5dac80 /spinner.go
parent1e98d2607b0eafb698dc63e7b97d55ecaf416cb5 (diff)
fix textboxv0.20.0
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'spinner.go')
-rw-r--r--spinner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spinner.go b/spinner.go
index 8e7ccbb..03f4296 100644
--- a/spinner.go
+++ b/spinner.go
@@ -18,7 +18,7 @@ func newSpinner(p, n *tree.Node) {
newt.uiControl = s
s.OnChanged(func(s *ui.Spinbox) {
- n.SetValue(newt.uiSpinbox.Value())
+ n.State.CurrentI = newt.uiSpinbox.Value()
me.myTree.SendUserEvent(n)
})