summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/label.go')
-rw-r--r--toolkit/andlabs/label.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/toolkit/andlabs/label.go b/toolkit/andlabs/label.go
index c6bd670..7762827 100644
--- a/toolkit/andlabs/label.go
+++ b/toolkit/andlabs/label.go
@@ -9,8 +9,7 @@ import (
func newLabel(a *toolkit.Action) {
var newt *andlabsT
- w := a.Widget
- log(debugToolkit, "NewLabel()", w.Name)
+ log(debugToolkit, "NewLabel()", a.Name)
t := andlabs[a.ParentId]
if (t == nil) {
@@ -21,11 +20,11 @@ func newLabel(a *toolkit.Action) {
return
}
- log(debugToolkit, "NewLabel()", w.Name)
+ log(debugToolkit, "NewLabel()", a.Name)
newt = new(andlabsT)
- c := ui.NewLabel(w.Name)
+ c := ui.NewLabel(a.Name)
newt.uiLabel = c
newt.uiControl = c