summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/checkbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-27 12:55:11 -0500
committerJeff Carr <[email protected]>2023-04-27 12:55:11 -0500
commit6f441738061b0528e86183402474ddb1cdf3c77a (patch)
treeaf5b38556b1dd9dd3fd17e517608669b26d55a05 /toolkit/andlabs/checkbox.go
parent253dcb012f6d4fc861e6fc9a66fd2c7260ead442 (diff)
andlabs: more cleanupsv0.8.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/checkbox.go')
-rw-r--r--toolkit/andlabs/checkbox.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/checkbox.go b/toolkit/andlabs/checkbox.go
index b822ca1..4c690c1 100644
--- a/toolkit/andlabs/checkbox.go
+++ b/toolkit/andlabs/checkbox.go
@@ -13,8 +13,8 @@ func (p *node) newCheckbox(n *node) {
newt.uiControl = newt.uiCheckbox
newt.uiCheckbox.OnToggled(func(spin *ui.Checkbox) {
- newt.b = newt.checked()
- log(debugChange, "val =", newt.b)
+ n.B = newt.checked()
+ log(debugChange, "val =", n.B)
n.doUserEvent()
})