summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/textbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-27 12:41:42 -0500
committerJeff Carr <[email protected]>2023-04-27 12:41:42 -0500
commit253dcb012f6d4fc861e6fc9a66fd2c7260ead442 (patch)
treea3092695fa5d6769d5898e3319016f0bb84ae6e9 /toolkit/andlabs/textbox.go
parent8100e7a1abdc31afbf65af6d0b7cd7cb0fff69eb (diff)
andlabs: deprecate old code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/textbox.go')
-rw-r--r--toolkit/andlabs/textbox.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/textbox.go b/toolkit/andlabs/textbox.go
index 5dca1bc..56788d8 100644
--- a/toolkit/andlabs/textbox.go
+++ b/toolkit/andlabs/textbox.go
@@ -13,8 +13,8 @@ func (p *node) newTextbox(n *node) {
newt.uiControl = e
e.OnChanged(func(spin *ui.MultilineEntry) {
- newt.s = spin.Text()
- newt.doUserEvent()
+ n.S = spin.Text()
+ n.doUserEvent()
})
n.tk = newt
p.place(n)