summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/button.go')
-rw-r--r--toolkit/andlabs/button.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/andlabs/button.go b/toolkit/andlabs/button.go
index 1f9fdaf..94e2966 100644
--- a/toolkit/andlabs/button.go
+++ b/toolkit/andlabs/button.go
@@ -24,7 +24,7 @@ func newButton(a *toolkit.Action) {
newt.uiButton = b
newt.uiControl = b
newt.tw = a.Widget
- newt.Type = a.WidgetType
+ newt.WidgetType = a.WidgetType
newt.parent = t
b.OnClicked(func(*ui.Button) {