summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 438f885a..711ee15e 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -527,7 +527,9 @@ void MainView::webViewLoadStarted()
emit currentTabStateChanged();
emit showStatusBarMessage(i18n("Loading..."), Rekonq::Info);
- if (view == currentWebTab()->view() && view->url().scheme() != QL1S("about"))
+ if (view == currentWebTab()->view()
+ && !currentUrlBar()->hasFocus()
+ && view->url().scheme() != QL1S("about"))
{
view->setFocus();
}