diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sessionmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp index 6e4ed7dc..0ef0b827 100644 --- a/src/sessionmanager.cpp +++ b/src/sessionmanager.cpp @@ -287,7 +287,7 @@ bool SessionManager::restoreMainWindow(MainWindow* window) if (tab.hasAttribute("currentTab")) currentTab = tabNo; - WebView *view = (tabNo == 0) ? mv->webTab(0)->view() : mv->newWebTab()->view(); + WebView *view = mv->newWebTab()->view(); QDomCDATASection historySection = tab.firstChild().toCDATASection(); QByteArray history = QByteArray::fromBase64(historySection.data().toAscii()); |