X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/4102ccb80457eea44ea280f0ace2a419602bc34b..3597cd82072365fdf144f9985a69d6fe892643be:/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);