summaryrefslogtreecommitdiff
path: root/demo.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-15 10:28:03 -0700
committerJeff Carr <[email protected]>2019-05-15 10:28:03 -0700
commit20a71cca67b8eabd8716728b89e5c109e33d12cf (patch)
tree3214b28c5cf662b6230bbb68efb66508515bd52d /demo.go
parent2ea414bb14a8d9de8fb44a5bec8a8852ba1a3c98 (diff)
this was what was causing it to crash. You can not Quit on other windows
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'demo.go')
-rw-r--r--demo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.go b/demo.go
index a9c0761..7620520 100644
--- a/demo.go
+++ b/demo.go
@@ -12,7 +12,7 @@ func SetupDemoUI() {
log.Println("setupDemoUI() START")
demowin = ui.NewWindow("Demo GUI Widgets", 500, 300, false)
demowin.OnClosing(func(*ui.Window) bool {
- ui.Quit()
+ // ui.Quit()
return true
})
ui.OnShouldQuit(func() bool {