From e30f7e7efb184a413050629c33314ea92ac7a872 Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Fri, 30 Jul 1999 23:42:43 +0000 Subject: [PATCH] stop neglecting to specify an URL to open in the prefs window. fixes bug 10589. --- xpfe/components/prefwindow/src/nsPrefWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/components/prefwindow/src/nsPrefWindow.cpp b/xpfe/components/prefwindow/src/nsPrefWindow.cpp index ef2c7bb7cdb2..940ea0033460 100644 --- a/xpfe/components/prefwindow/src/nsPrefWindow.cpp +++ b/xpfe/components/prefwindow/src/nsPrefWindow.cpp @@ -208,7 +208,7 @@ NS_IMETHODIMP nsPrefWindow::showWindow( nsIXULWindowCallbacks *cb = nsnull; nsCOMPtr parent; DOMWindowToWebShellWindow(currentFrontWin, &parent); - rv = appShell->RunModalDialog(nsnull, parent, nsnull, + rv = appShell->RunModalDialog(nsnull, parent, urlObj, NS_CHROME_ALL_CHROME | NS_CHROME_OPEN_AS_DIALOG, cb, 504, 436); return rv;