diff options
Diffstat (limited to 'src/urlbar/completionwidget.cpp')
-rw-r--r-- | src/urlbar/completionwidget.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp index fdfd3107..087a10a6 100644 --- a/src/urlbar/completionwidget.cpp +++ b/src/urlbar/completionwidget.cpp @@ -274,6 +274,13 @@ bool CompletionWidget::eventFilter(QObject *obj, QEvent *ev) case Qt::Key_Enter: case Qt::Key_Return: w = qobject_cast<UrlBar *>(parent()); + if(kev->modifiers() == Qt::AltModifier) + { + if(kev->key() == Qt::Key_Return || kev->key() == Qt::Key_Enter) + { + emit chosenUrl(w->text(), Rekonq::NewFocusedTab); + } + } if (!w->text().startsWith(QL1S("http://"), Qt::CaseInsensitive)) { |