From 0bcd18a1c11689db49b0e817cc8f17d7463df302 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 19 Jan 2024 12:37:32 -0600 Subject: [PATCH] SetLabel() and SetValue() Signed-off-by: Jeff Carr --- oneLiner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneLiner.go b/oneLiner.go index 9dad512..fda56f5 100644 --- a/oneLiner.go +++ b/oneLiner.go @@ -26,7 +26,7 @@ func (n *OneLiner) String() string { return n.v.String() } -func (n *OneLiner) SetText(s string) *OneLiner { +func (n *OneLiner) SetValue(s string) *OneLiner { log.Log(INFO, "OneLiner.Set() =", s) n.v.SetLabel(s) return n