diff options
author | Guido van Rossum <guido@python.org> | 1992-04-08 11:16:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-04-08 11:16:25 (GMT) |
commit | 336b591e557fe6c4ba22f01d47976967fe389dec (patch) | |
tree | 49d76da48444f9aa7157aa9502879cb4e6189467 | |
parent | cf49ac55ac16a11e8fb5b14a80081fa39b944cf8 (diff) | |
download | cpython-336b591e557fe6c4ba22f01d47976967fe389dec.zip cpython-336b591e557fe6c4ba22f01d47976967fe389dec.tar.gz cpython-336b591e557fe6c4ba22f01d47976967fe389dec.tar.bz2 |
in form_dealloc, only hide the form if it's visible
-rw-r--r-- | Modules/flmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ form_dealloc(f) 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); } |