summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-08-01 15:11:11 +0200
committermegabigbug <megabigbug@arrakis.(none)>2009-08-01 15:11:11 +0200
commit8baa424e3addad300fc22baf9636fc294efdcb56 (patch)
tree36c2b66b6399c3308e467e25dffd131c298b7f0b /src/urlbar.cpp
parentFixing a bit enum OpenType names.. (diff)
downloadrekonq-8baa424e3addad300fc22baf9636fc294efdcb56.tar.xz
fix focus when right click bug
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);
}