summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-04-17 23:22:48 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-04-17 23:22:48 +0200
commit708e029be1c2d790aa6891841f5425d8671e0bf3 (patch)
tree958e418b5c9c71301101b3daf456c93154b73b01
parentrekonq 0.4.61 (diff)
downloadrekonq-708e029be1c2d790aa6891841f5425d8671e0bf3.tar.xz
Fix the completition widget opening when the urlbar has the focus and we want to load an url
It fix also the same issue with redirection
-rw-r--r--src/urlbar/urlbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index a4c7a0e0..8c6c0749 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -95,6 +95,7 @@ void UrlBar::setQUrl(const QUrl& url)
}
else
{
+ clearFocus();
LineEdit::setUrl(url);
setCursorPosition(0);
iconButton()->setIcon( Application::icon(url) );