1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

[LocationBar] Delete key to hide inline completion

This commit is contained in:
nowrep 2013-06-09 12:27:25 +02:00
parent acbd04dd3d
commit d17b06ff65

View File

@ -467,6 +467,15 @@ void LocationBar::keyPressEvent(QKeyEvent* event)
}
break;
case Qt::Key_Delete:
if (m_inlineCompletionVisible) {
m_inlineCompletionVisible = false;
update();
event->accept();
}
break;
case Qt::Key_Escape:
m_webView->setFocus();
showUrl(m_webView->url());