summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/grid.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/grid.go')
-rw-r--r--toolkit/andlabs/grid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/grid.go b/toolkit/andlabs/grid.go
index da4cf2a..be05b70 100644
--- a/toolkit/andlabs/grid.go
+++ b/toolkit/andlabs/grid.go
@@ -14,7 +14,7 @@ import (
// -----------------------------
func newGrid(a *toolkit.Action) {
var newt *andlabsT
- log(debugToolkit, "newGrid()", a.WidgetId, "to", a.WhereId)
+ log(debugToolkit, "newGrid()", a.WidgetId, "to", a.ParentId)
newt = new(andlabsT)
@@ -26,6 +26,6 @@ func newGrid(a *toolkit.Action) {
newt.gridX = 0
newt.gridY = 0
- t := andlabs[a.WhereId]
+ t := andlabs[a.ParentId]
place(a, t, newt)
}