From e678a5cc626c9cfdcb2f593b49598732052495cd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 28 Jan 2024 03:33:08 -0600 Subject: fake buttons have labels Signed-off-by: Jeff Carr --- plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin.go') 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 { -- cgit v1.2.3