diff options
Diffstat (limited to 'toolkit/andlabs/button.go')
| -rw-r--r-- | toolkit/andlabs/button.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/andlabs/button.go b/toolkit/andlabs/button.go index b3eae7b..a6260b5 100644 --- a/toolkit/andlabs/button.go +++ b/toolkit/andlabs/button.go @@ -19,12 +19,10 @@ func (p *node) newButton(n *node) { b := ui.NewButton(n.Text) newt.uiButton = b newt.uiControl = b - newt.wId = n.WidgetId - newt.WidgetType = n.WidgetType newt.parent = t b.OnClicked(func(*ui.Button) { - newt.doUserEvent() + n.doUserEvent() }) n.tk = newt |
