From 6f441738061b0528e86183402474ddb1cdf3c77a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 27 Apr 2023 12:55:11 -0500 Subject: andlabs: more cleanups Signed-off-by: Jeff Carr --- toolkit/andlabs/checkbox.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/andlabs/checkbox.go') 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() }) -- cgit v1.2.3