diff options
Diffstat (limited to 'toolkit/andlabs/checkbox.go')
| -rw-r--r-- | toolkit/andlabs/checkbox.go | 4 |
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() }) |
