summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 20:25:14 -0500
committerJeff Carr <[email protected]>2023-04-06 20:25:14 -0500
commit933a7e4df0e6a28ad06dfd60ab2928d5cdf916f9 (patch)
tree268ad3d290b392f877963a6fdc82197168f51fc4 /toolkit/andlabs/window.go
parent8649f37a56bc31928d69077545f1e323a794c61a (diff)
andlabs: callback is now safe through a go channel
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/window.go')
-rw-r--r--toolkit/andlabs/window.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/toolkit/andlabs/window.go b/toolkit/andlabs/window.go
index 4b64b12..cfa419f 100644
--- a/toolkit/andlabs/window.go
+++ b/toolkit/andlabs/window.go
@@ -27,7 +27,6 @@ func newWindow(a *toolkit.Action) {
win.SetBorderless(canvas)
win.SetMargined(margin)
win.OnClosing(func(*ui.Window) bool {
- // newt.commonChange(newt.tw, a.WidgetId)
newt.doUserEvent()
return true
})