From 708e029be1c2d790aa6891841f5425d8671e0bf3 Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Sat, 17 Apr 2010 23:22:48 +0200 Subject: 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 --- src/urlbar/urlbar.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/urlbar') 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) ); -- cgit v1.2.1