From 20a71cca67b8eabd8716728b89e5c109e33d12cf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 May 2019 10:28:03 -0700 Subject: [PATCH] this was what was causing it to crash. You can not Quit on other windows Signed-off-by: Jeff Carr --- demo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {