summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-27 23:31:28 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-27 23:31:28 +0100
commitdf48774805e212f78ca503680c1cd2cc8c18ae81 (patch)
tree86e6a5b82b0950a39e1d76eb3152442148f86107
parentOpen links in new tabs with CTRL + ENTER (diff)
downloadrekonq-df48774805e212f78ca503680c1cd2cc8c18ae81.tar.xz
Don't steal focus on loadStarted
I'll tag rekonq 0.8.72 to let you easily test this. Can you please catch if this really fixes your issue? CCBUG:286729
-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();
}