mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
reverting fuzzy-brained part of last checkin that causes Hidden Window to be Tempting Crasher Window. bug 27842
This commit is contained in:
parent
8aed8032e5
commit
7448117f2b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user