changeset 598 | b8c5ae66f9ff |
parent 596 | a787fc8fba4a |
child 606 | da90c837064c |
--- a/misc_gui.c Sat Dec 11 19:20:00 2004 +0000 +++ b/misc_gui.c Sun Dec 12 13:46:10 2004 +0000 @@ -791,11 +791,11 @@ WindowNumber wnd_num = WP(w,querystr_d).wnd_num; Window *parent; - DeleteWindow(w); - // Mask the edit-box as closed, so we don't send out a CANCEL closed = true; + DeleteWindow(w); + parent = FindWindowById(wnd_class, wnd_num); if (parent != NULL) { WindowEvent e;