summaryrefslogtreecommitdiff
path: root/basicLabel.go
diff options
context:
space:
mode:
Diffstat (limited to 'basicLabel.go')
-rw-r--r--basicLabel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicLabel.go b/basicLabel.go
index 6d87087..fc410d3 100644
--- a/basicLabel.go
+++ b/basicLabel.go
@@ -52,7 +52,7 @@ func (ngui *Node) NewBasicLabel(name string) *BasicLabel {
d.l = n.NewLabel(name)
d.v = n.NewLabel("")
d.v.Custom = func() {
- d.value = d.v.S
+ d.value = d.v.GetText()
log.Log(INFO, "BasicLabel.Custom() user changed value to =", d.value)
}