summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 246d6aa5..cf77be57 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -347,6 +347,9 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
}
// ------------------- END WARNING --------------------------------------
+ // we are sure of the url now, let's add it to history
+ historyManager()->addHistoryEntry( loadingUrl.prettyUrl() );
+
if (!ReKonfig::openTabsBack())
{
w->mainView()->urlBar()->setUrl(loadingUrl.prettyUrl());