summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/flmodule.c3
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);
}