diff options
Diffstat (limited to 'toolkit/andlabs/checkbox.go')
| -rw-r--r-- | toolkit/andlabs/checkbox.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/andlabs/checkbox.go b/toolkit/andlabs/checkbox.go index e4987e1..d60b515 100644 --- a/toolkit/andlabs/checkbox.go +++ b/toolkit/andlabs/checkbox.go @@ -8,9 +8,7 @@ import ( func (t *andlabsT) newCheckbox(a *toolkit.Action) *andlabsT { var newt andlabsT - w := a.Widget log(debugToolkit, "newCheckbox()", a.Name, a.WidgetType) - newt.tw = w newt.WidgetType = a.WidgetType newt.wId = a.WidgetId newt.Name = a.Name @@ -21,7 +19,7 @@ func (t *andlabsT) newCheckbox(a *toolkit.Action) *andlabsT { newt.uiCheckbox.OnToggled(func(spin *ui.Checkbox) { newt.b = newt.checked() - log(debugChange, "val =", newt.tw.B) + log(debugChange, "val =", newt.b) newt.doUserEvent() }) |
