diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-01 20:45:23 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-01 20:45:23 +0200 |
commit | 10a27aef00debef6c27b6ec5e52d3e6a62c30838 (patch) | |
tree | 28ec2c9afa2598e271b6a7ce72d80785874e56b7 /src/urlbar.cpp | |
parent | Merge branch 'POPUS' (diff) | |
parent | fix focus when right click bug (diff) | |
download | rekonq-10a27aef00debef6c27b6ec5e52d3e6a62c30838.tar.xz |
Merge branch 'FOCUSOUT'
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r-- | src/urlbar.cpp | 2 |
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); } |