summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2011-03-23 00:54:43 +0100
committerFelix Rohrbach <fxrh@gmx.de>2011-03-23 00:54:43 +0100
commit23d8fcfe20cfdca15c3552e0d7f65a14586c8819 (patch)
tree012b182e5fc8235fc64ea13af531a3a712849f25
parentMake rekonq open a new window when called, even if it's already running. (diff)
downloadrekonq-23d8fcfe20cfdca15c3552e0d7f65a14586c8819.tar.xz
Fixup for last commit.
Prevent rekonq from opening two windows after a crash.
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 3c1223a9..7fcbfe86 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -190,7 +190,7 @@ int Application::newInstance()
break;
}
}
- else // rekonq has just been started. Just open a new window
+ else if (!isFirstLoad) // rekonq has just been started. Just open a new window
{
switch (ReKonfig::newTabsBehaviour())
{