diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-19 09:53:09 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-19 09:53:09 +0200 |
commit | d0c5b80737ac1f9a605110331ee9a080cee85dba (patch) | |
tree | 6087871005edd85e2561cb68e8dda7d05c30b211 /src/urlbar | |
parent | the "real" fix for 234579 (diff) | |
parent | Fix the url bar focus when the only tab is closed (diff) | |
download | rekonq-d0c5b80737ac1f9a605110331ee9a080cee85dba.tar.xz |
Merge commit 'refs/merge-requests/2242' of git://gitorious.org/rekonq/mainline into m2242
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlbar.cpp | 1 |
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) ); |