diff --git a/CHANGELOG b/CHANGELOG index f8401150b..c7ff740c5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ Version 1.4.1 * not yet released + * fixed showing empty back/forward history menu upon restoring session + * fixed duplicating current url in history when restoring session * fixed instantly showing popup when clicking on back/forward button Version 1.4.0 diff --git a/src/lib/webview/webtab.cpp b/src/lib/webview/webtab.cpp index 5ba3646e1..abbcbfca9 100644 --- a/src/lib/webview/webtab.cpp +++ b/src/lib/webview/webtab.cpp @@ -250,10 +250,10 @@ void WebTab::restoreTab(const WebTab::SavedTab &tab) void WebTab::p_restoreTab(const QUrl &url, const QByteArray &history) { + m_view->load(url); + QDataStream historyStream(history); historyStream >> *m_view->history(); - - m_view->load(url); } void WebTab::p_restoreTab(const WebTab::SavedTab &tab)