summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 8bca4f63..bd775050 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -222,8 +222,10 @@ int Application::newInstance()
loadUrl(KUrl("about:home"), Rekonq::NewWindow);
break;
case 2: // restore session
- sessionManager()->restoreSession();
- break;
+ if (sessionManager()->restoreSession())
+ {
+ break;
+ }
default:
newMainWindow()->homePage();
break;