summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-01 20:45:23 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-01 20:45:23 +0200
commit10a27aef00debef6c27b6ec5e52d3e6a62c30838 (patch)
tree28ec2c9afa2598e271b6a7ce72d80785874e56b7 /src/urlbar.cpp
parentMerge branch 'POPUS' (diff)
parentfix focus when right click bug (diff)
downloadrekonq-10a27aef00debef6c27b6ec5e52d3e6a62c30838.tar.xz
Merge branch 'FOCUSOUT'
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r--src/urlbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index ba9773db..c2c28954 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -229,7 +229,7 @@ void UrlBar::paintEvent(QPaintEvent *event)
void UrlBar::focusOutEvent(QFocusEvent *event)
{
// set back last loaded url in case user cleared it
- setUrl(m_currentUrl);
+ if (!m_currentUrl.equals(KUrl(lineEdit()->text()))) setUrl(m_currentUrl);
KHistoryComboBox::focusOutEvent(event);
}