maybe caused the window close problem
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
58f530f8bf
commit
4bce280460
|
@ -183,6 +183,7 @@ func (w *BasicWindow) Make() *BasicWindow {
|
||||||
// I like to call this Sierpinski mode
|
// I like to call this Sierpinski mode
|
||||||
if w.win.Custom == nil {
|
if w.win.Custom == nil {
|
||||||
w.win.Custom = func() {
|
w.win.Custom = func() {
|
||||||
|
w.hidden = true
|
||||||
log.Log(GADGETS, "BasicWindow.Custom() closed. handled properly?", w.title)
|
log.Log(GADGETS, "BasicWindow.Custom() closed. handled properly?", w.title)
|
||||||
if w.Custom != nil {
|
if w.Custom != nil {
|
||||||
w.Custom()
|
w.Custom()
|
||||||
|
|
Loading…
Reference in New Issue