diff options
| author | Jeff Carr <[email protected]> | 2023-12-15 17:18:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-15 17:18:48 -0600 |
| commit | dcce32583387be7fc4f6cd8c8dea62fd7dc42ecf (patch) | |
| tree | ffbedb095816a92c69546041271acbef5870481c /toolkit/andlabs/action.go | |
| parent | 282119d970faed3f8a60d5105a2f26ee14681ff4 (diff) | |
make a common.go for the toolkitsv0.8.7
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/action.go')
| -rw-r--r-- | toolkit/andlabs/action.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/andlabs/action.go b/toolkit/andlabs/action.go index 16a895b..2088917 100644 --- a/toolkit/andlabs/action.go +++ b/toolkit/andlabs/action.go @@ -195,7 +195,7 @@ func rawAction(a toolkit.Action) { return } - n := rootNode.findWidgetId(a.WidgetId) + n := me.rootNode.findWidgetId(a.WidgetId) if (a.ActionType == toolkit.Add) { ui.QueueMain(func() { @@ -208,12 +208,12 @@ func rawAction(a toolkit.Action) { if (a.ActionType == toolkit.Dump) { log(debugNow, "rawAction() Dump =", a.ActionType, a.WidgetType, n.Name) - rootNode.listChildren(true) + me.rootNode.listChildren(true) return } if (n == nil) { - rootNode.listChildren(true) + me.rootNode.listChildren(true) log(true, "rawAction() ERROR findWidgetId found nil", a.ActionType, a.WidgetType) log(true, "rawAction() ERROR findWidgetId found nil for id =", a.WidgetId) log(true, "rawAction() ERROR findWidgetId found nil", a.ActionType, a.WidgetType) @@ -256,7 +256,7 @@ func rawAction(a toolkit.Action) { n.Delete() case toolkit.Move: log(debugNow, "rawAction() attempt to move() =", a.ActionType, a.WidgetType) - newParent := rootNode.findWidgetId(a.ParentId) + newParent := me.rootNode.findWidgetId(a.ParentId) n.move(newParent) default: log(debugError, "rawAction() Unknown =", a.ActionType, a.WidgetType) |
