this was what was causing it to crash. You can not Quit on other windows

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-15 10:28:03 -07:00
parent 2ea414bb14
commit 20a71cca67
1 changed files with 1 additions and 1 deletions

View File

@ -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 {