diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-27 23:31:28 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-27 23:31:28 +0100 |
commit | df48774805e212f78ca503680c1cd2cc8c18ae81 (patch) | |
tree | 86e6a5b82b0950a39e1d76eb3152442148f86107 /src/mainview.cpp | |
parent | Open links in new tabs with CTRL + ENTER (diff) | |
download | rekonq-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
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 4 |
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(); } |