diff options
| author | Jeff Carr <[email protected]> | 2025-02-19 04:17:34 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-19 17:39:45 -0600 |
| commit | c64592f326aa4a76d9c773e2d4f8b775fac86b02 (patch) | |
| tree | 711dd57d08d29e6a7f112a1a9d45fe5db10e8317 /debug.go | |
| parent | 377b08eeb6e21564f09a50db03ddd26e4e1f575f (diff) | |
more and more
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,11 +49,11 @@ func (tk *guiWidget) dumpWidget(s string) { var s1 string var pId int // tk.verifyRect() - if tk.node.Parent == nil { + if tk.parent == nil { log.Logf(WARN, "showWidgetPlacement() parent == nil wId=%d cuiName=%s", tk.WidgetId(), tk.cuiName) pId = 0 } else { - pId = tk.node.Parent.WidgetId + pId = tk.parent.WidgetId() } s1 = fmt.Sprintf("(wId,pId)=(%4d,%4d) ", tk.WidgetId(), pId) sizeW, sizeH := tk.Size() |
