mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
in form_dealloc, only hide the form if it's visible
This commit is contained in:
parent
cf49ac55ac
commit
336b591e55
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue