diff options
Diffstat (limited to 'andlabs/addText.go')
| -rw-r--r-- | andlabs/addText.go | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/andlabs/addText.go b/andlabs/addText.go index 291dca3..74249a4 100644 --- a/andlabs/addText.go +++ b/andlabs/addText.go @@ -6,22 +6,21 @@ import ( ) func (n *node) addText(a *widget.Action) { - log.Log(CHANGE, "addText() START with a.S =", a.S) + log.Log(CHANGE, "addText() START with a.Value =", a.Value) t := n.tk if (t == nil) { - log.Log(ERROR, "addText error. tk == nil", n.Name, n.WidgetId) - actionDump(debugError, a) + log.Log(ERROR, "addText error. tk == nil", n.progname, n.WidgetId) return } - log.Log(CHANGE, "addText() Attempt on", n.WidgetType, "with", a.S) + log.Log(CHANGE, "addText() Attempt on", n.WidgetType, "with", a.Value) switch n.WidgetType { case widget.Dropdown: - n.AddDropdownName(a.S) + n.AddDropdownName(getString(a.Value)) case widget.Combobox: - t.AddComboboxName(a.S) + t.AddComboboxName(getString(a.Value)) default: log.Log(ERROR, "plugin Send() Don't know how to addText on", n.WidgetType, "yet", a.ActionType) } - log.Log(CHANGE, "addText() END with a.S =", a.S) + log.Log(CHANGE, "addText() END with a.Value =", a.Value) } |
