commit | 336b591e557fe6c4ba22f01d47976967fe389dec | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Apr 08 11:16:25 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Apr 08 11:16:25 1992 +0000 |
tree | 49d76da48444f9aa7157aa9502879cb4e6189467 | |
parent | cf49ac55ac16a11e8fb5b14a80081fa39b944cf8 [diff] |
in form_dealloc, only hide the form if it's visible
diff --git a/Modules/flmodule.c b/Modules/flmodule.c index f51586a..2d26533 100644 --- a/Modules/flmodule.c +++ b/Modules/flmodule.c
@@ -1816,7 +1816,8 @@ formobject *f; { releaseobjects(f->ob_form); - fl_hide_form(f->ob_form); + if (f->ob_form->visible) + fl_hide_form(f->ob_form); fl_free_form(f->ob_form); DEL(f); }