summaryrefslogtreecommitdiffstats
path: root/toolkit/components/windowwatcher/nsWindowWatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/windowwatcher/nsWindowWatcher.cpp')
-rw-r--r--toolkit/components/windowwatcher/nsWindowWatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/windowwatcher/nsWindowWatcher.cpp b/toolkit/components/windowwatcher/nsWindowWatcher.cpp
index 209af157a3..b482214d31 100644
--- a/toolkit/components/windowwatcher/nsWindowWatcher.cpp
+++ b/toolkit/components/windowwatcher/nsWindowWatcher.cpp
@@ -1431,7 +1431,7 @@ nsresult nsWindowWatcher::OpenWindowInternal(
}
if (parentWidget &&
((!newWindowShouldBeModal && parentIsModal) || isAppModal)) {
- parentWidget->SetFakeModal(true);
+ parentWidget->SetModal(true);
} else {
// Reset popup state while opening a modal dialog, and firing
// events about the dialog, to prevent the current state from