summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/completionwidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp
index e76c598d..f227eec1 100644
--- a/src/urlbar/completionwidget.cpp
+++ b/src/urlbar/completionwidget.cpp
@@ -321,6 +321,9 @@ bool CompletionWidget::eventFilter(QObject *obj, QEvent *ev)
hide();
emit chosenUrl(urlToLoad, type);
kev->accept();
+
+ if (type != Rekonq::CurrentTab)
+ w->clear();
return true;
}
case Qt::Key_Escape: