┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search/bar.cpp2
1 files changed, 1 insertions, 1 deletions
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<const DolphinQuery> &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);