SetLabel() and SetValue()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-19 12:37:32 -06:00
parent 87de3c12ff
commit 0bcd18a1c1
1 changed files with 1 additions and 1 deletions

View File

@ -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