summaryrefslogtreecommitdiff
path: root/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'label.go')
-rw-r--r--label.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/label.go b/label.go
index 24d1ad9..39dfc57 100644
--- a/label.go
+++ b/label.go
@@ -9,9 +9,7 @@ func (parent *Node) NewLabel(text string) *Node {
newNode.value = text
newNode.progname = text
- if ! newNode.hidden {
- a := newAction(newNode, widget.Add)
- sendAction(a)
- }
+ // inform the toolkits
+ sendAction(newNode, widget.Add)
return newNode
}