diff --git a/xpfe/components/prefwindow/resources/content/pref.xul b/xpfe/components/prefwindow/resources/content/pref.xul index 7e1ff5fe2de8a2e30cbb0dc3ec1c859001d7fac1..d8aec538c7c47b6201db07c4d8cb187e173a02f3 100644 --- a/xpfe/components/prefwindow/resources/content/pref.xul +++ b/xpfe/components/prefwindow/resources/content/pref.xul @@ -29,11 +29,12 @@ function Startup() { hPrefWindow = new nsPrefWindow('panelFrame'); - hPrefWindow.init(); if( !hPrefWindow ) throw "failed to create prefwindow"; + hPrefWindow.init(); + // If this call worked, we could center the window here: // centerWindowOnScreen();