diff options
| author | Jeff Carr <[email protected]> | 2023-04-06 20:50:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-06 20:50:00 -0500 |
| commit | 27e76ebb005280db2bbbd02b0efa6d7faf4bcec7 (patch) | |
| tree | aa86dd208e05a9f088258d5cbba3d9e350f95cfd /toolkit/andlabs/checkbox.go | |
| parent | 933a7e4df0e6a28ad06dfd60ab2928d5cdf916f9 (diff) | |
correctly deprecate *widget to plugins
Signed-off-by: Jeff Carr <[email protected]>
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() }) |
