(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network

disconnect without cleaning up.
This commit is contained in:
truelight
2004-12-12 13:46:10 +00:00
parent 920a93071b
commit e027fa76b1
3 changed files with 6 additions and 3 deletions

View File

@@ -791,11 +791,11 @@ press_ok:;
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;