[LocationBar] Delete key to hide inline completion

remotes/origin/falkon
nowrep 13 years ago
parent acbd04dd3d
commit d17b06ff65
  1. 9
      src/lib/navigation/locationbar.cpp

@ -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…
Cancel
Save