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, 1 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 98b8d870..53393b7b 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -320,11 +320,10 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
break;
case Rekonq::CurrentTab:
webView = m_mainWindow->mainView()->currentWebView();
+ m_mainWindow->mainView()->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
break;
};
- m_mainWindow->mainView()->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
-
if (webView)
{
webView->setFocus();