diff options
| author | Jeff Carr <[email protected]> | 2024-01-19 12:21:04 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-19 12:21:04 -0600 |
| commit | a1b9ab39f723f73162b15f68e1207ef674ec7ce5 (patch) | |
| tree | 5d4a00f2a412c944089b6eca3d09d3a6299bac4d /oneLiner.go | |
| parent | 3b4fb5c4b6d710303c84e37e9f55a38cee3bbb45 (diff) | |
SetValue() and SetChecked()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'oneLiner.go')
| -rw-r--r-- | oneLiner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oneLiner.go b/oneLiner.go index 9b95d60..9dad512 100644 --- a/oneLiner.go +++ b/oneLiner.go @@ -28,14 +28,14 @@ func (n *OneLiner) String() string { func (n *OneLiner) SetText(s string) *OneLiner { log.Log(INFO, "OneLiner.Set() =", s) - n.v.SetText(s) + n.v.SetLabel(s) return n } func (n *OneLiner) SetLabel(value string) *OneLiner { log.Log(INFO, "OneLiner.SetLabel() =", value) if n.l != nil { - n.l.Set(value) + n.l.SetLabel(value) } return n } |
