maybe caused the window close problem

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-14 01:05:19 -06:00
parent 58f530f8bf
commit 4bce280460
1 changed files with 1 additions and 0 deletions

View File

@ -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()