summaryrefslogtreecommitdiff
path: root/src/sessionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r--src/sessionmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp
index 02488801..d5bc1ff8 100644
--- a/src/sessionmanager.cpp
+++ b/src/sessionmanager.cpp
@@ -208,7 +208,8 @@ void SessionManager::restoreCrashedSession()
MainView *mv = (winNo == 0) ? rApp->mainWindow()->mainView() : rApp->newMainWindow()->mainView();
- int currentTab = loadViewTabs(mv, window, true);
+ bool useCurrentTab = (mv->currentWebTab()->url().protocol() == QL1S("about"));
+ int currentTab = loadViewTabs(mv, window, useCurrentTab);
mv->setCurrentIndex(currentTab);
}