summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.go b/plugin.go
index 7bf6757..0e55102 100644
--- a/plugin.go
+++ b/plugin.go
@@ -99,8 +99,8 @@ func (w *guiWidget) SetText(text string) {
log.Log(NOW, "widget is nil")
return
}
- if widget.GetString(w.value) != text {
- w.value = text
+ if w.labelN != text {
+ w.labelN = text
changed = true
}
if !changed {