mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[LocationBar] Delete key to hide inline completion
This commit is contained in:
parent
acbd04dd3d
commit
d17b06ff65
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user