diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-08-01 15:11:11 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-08-01 15:11:11 +0200 |
commit | 8baa424e3addad300fc22baf9636fc294efdcb56 (patch) | |
tree | 36c2b66b6399c3308e467e25dffd131c298b7f0b /src/urlbar.cpp | |
parent | Fixing a bit enum OpenType names.. (diff) | |
download | rekonq-8baa424e3addad300fc22baf9636fc294efdcb56.tar.xz |
fix focus when right click bug
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); } |