diff options
| author | Jeff Carr <[email protected]> | 2023-04-06 20:25:14 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-06 20:25:14 -0500 |
| commit | 933a7e4df0e6a28ad06dfd60ab2928d5cdf916f9 (patch) | |
| tree | 268ad3d290b392f877963a6fdc82197168f51fc4 /debugWindow.go | |
| parent | 8649f37a56bc31928d69077545f1e323a794c61a (diff) | |
andlabs: callback is now safe through a go channel
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugWindow.go')
| -rw-r--r-- | debugWindow.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debugWindow.go b/debugWindow.go index bed630a..0677b92 100644 --- a/debugWindow.go +++ b/debugWindow.go @@ -110,10 +110,10 @@ func dropdownWindow(p *Node) { dd := p.NewDropdown("Window Dropdown") dd.Custom = func() { - name := dd.widget.S + name := dd.S activeWidget = mapWindows[name] setActiveWidget(activeWidget) - log("The Window was set to", name) + log(true, "The Window was set to", name) } log(debugGui, "dd =", dd) if (activeWidget == nil) { |
