reverting fuzzy-brained part of last checkin that causes Hidden Window to be Tempting Crasher Window. bug 27842

This commit is contained in:
danm%netscape.com 2000-02-15 20:01:11 +00:00
parent 8aed8032e5
commit 7448117f2b

View File

@ -1123,10 +1123,8 @@ nsWebShellWindow::ShowModal()
if (parentWidget)
parentWidget->Enable(PR_FALSE);
rv = nsXULWindow::ShowModal();
if (parentWidget) {
if (parentWidget)
parentWidget->Enable(PR_TRUE);
parentWindow->Show(PR_TRUE); // bring to front
}
return rv;
}