summaryrefslogtreecommitdiff
path: root/nocui/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'nocui/action.go')
-rw-r--r--nocui/action.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/nocui/action.go b/nocui/action.go
index babfa6f..892bd54 100644
--- a/nocui/action.go
+++ b/nocui/action.go
@@ -70,7 +70,7 @@ func (n *node) Delete() {
case widget.Grid:
// t.uiGrid.SetPadded(true)
case widget.Box:
- log.Log(NOW, "tWidget.boxC =", p.Name)
+ log.Log(NOW, "tWidget.boxC =", p.progname)
log.Log(NOW, "is there a tParent parent? =", p.parent)
// this didn't work:
// tWidget.uiControl.Disable()
@@ -84,7 +84,7 @@ func (n *node) Delete() {
func doAction(a *widget.Action) {
log.Log(INFO, "doAction() START a.ActionType =", a.ActionType)
- log.Log(INFO, "doAction() START a.S =", a.S)
+ log.Log(INFO, "doAction() START a.ProgName =", a.ProgName)
if (a.ActionType == widget.InitToolkit) {
// TODO: make sure to only do this once
@@ -125,7 +125,7 @@ func doAction(a *widget.Action) {
case widget.GetText:
switch a.WidgetType {
case widget.Textbox:
- a.S = n.S
+ a.Value = n.value
}
case widget.Set:
// n.setText(a.S)