summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-07 16:04:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-07 16:04:46 +0200
commit3e463e4dccf07fd252411ec7e9c8710f9d46974b (patch)
treeadd81eea4e33e5d9fc2fe419a71363074cac8005 /src/application.cpp
parentKrazy issues, part 3 (diff)
downloadrekonq-3e463e4dccf07fd252411ec7e9c8710f9d46974b.tar.xz
Load url in the background urlbar fixes
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();