diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp index 18d19d9d..d8044e24 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -474,6 +474,10 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) ? newMainWindow() : mainWindow(); + // be SURE window exists + if (!w) + w = newMainWindow(); + switch (newType) { case Rekonq::NewTab: |