diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index a635bee291..af3b13ab79 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -917,12 +917,12 @@ void GameList::ConsiderViewChange() setCurrentWidget(m_empty); } } -void GameList::keyReleaseEvent(QKeyEvent* event) +void GameList::keyPressEvent(QKeyEvent* event) { if (event->key() == Qt::Key_Return && GetSelectedGame() != nullptr) emit GameSelected(); else - QStackedWidget::keyReleaseEvent(event); + QStackedWidget::keyPressEvent(event); } void GameList::OnColumnVisibilityToggled(const QString& row, bool visible) diff --git a/Source/Core/DolphinQt/GameList/GameList.h b/Source/Core/DolphinQt/GameList/GameList.h index 596c92f57e..5192e89230 100644 --- a/Source/Core/DolphinQt/GameList/GameList.h +++ b/Source/Core/DolphinQt/GameList/GameList.h @@ -94,5 +94,5 @@ private: bool m_prefer_list; protected: - void keyReleaseEvent(QKeyEvent* event) override; + void keyPressEvent(QKeyEvent* event) override; };