From 4bce280460a9a41b759e51fd9047d6ef4696d553 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 14 Feb 2024 01:05:19 -0600 Subject: maybe caused the window close problem Signed-off-by: Jeff Carr --- basicWindow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/basicWindow.go b/basicWindow.go index ec42c10..378fee3 100644 --- a/basicWindow.go +++ b/basicWindow.go @@ -183,6 +183,7 @@ func (w *BasicWindow) Make() *BasicWindow { // I like to call this Sierpinski mode if w.win.Custom == nil { w.win.Custom = func() { + w.hidden = true log.Log(GADGETS, "BasicWindow.Custom() closed. handled properly?", w.title) if w.Custom != nil { w.Custom() -- cgit v1.2.3