X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/4102ccb80457eea44ea280f0ace2a419602bc34b..e018ecafca79a73f1e9d76c577b9529fc3a7ae03:/src/search/bar.cpp diff --git a/src/search/bar.cpp b/src/search/bar.cpp index 18707ef23..794274cef 100644 --- a/src/search/bar.cpp +++ b/src/search/bar.cpp @@ -275,7 +275,7 @@ void Bar::updateState(const std::shared_ptr &dolphinQuery) void Bar::keyPressEvent(QKeyEvent *event) { - QWidget::keyReleaseEvent(event); + QWidget::keyPressEvent(event); if (event->key() == Qt::Key_Escape) { if (m_searchTermEditor->text().isEmpty()) { setVisible(false, WithAnimation);