summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-16 17:39:40 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-16 17:39:40 +0200
commit7e0cc1e29b7df0cae28893ffd10a421f21ff2ea9 (patch)
tree216e9dd0181413c5130249c18ba9782623970a40
parenti18n fixes (diff)
downloadrekonq-7e0cc1e29b7df0cae28893ffd10a421f21ff2ea9.tar.xz
Don't change my typed url...
-rw-r--r--src/urlbar.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index 5ad8314e..12691519 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -154,6 +154,13 @@ void UrlBar::setProgress(int progress)
void UrlBar::slotUpdateUrl()
{
+ // Don't change my typed url...
+ if(hasFocus())
+ {
+ kDebug() << "Don't change my typed url...";
+ return;
+ }
+
if (count())
{
changeUrl(0, Application::icon(m_currentUrl), m_currentUrl);