From e6bd7a8cd5ebdbdf847f0a172314748b15a4c78e Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 18 Mar 2021 21:51:24 -0700 Subject: [PATCH] Open the properties window when alt+enter is used on the game list --- Source/Core/DolphinQt/GameList/GameList.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index 5de3736801..f5f0c8d959 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -856,9 +856,16 @@ void GameList::ConsiderViewChange() void GameList::keyPressEvent(QKeyEvent* event) { if (event->key() == Qt::Key_Return && GetSelectedGame() != nullptr) - emit GameSelected(); + { + if (event->modifiers() == Qt::AltModifier) + OpenProperties(); + else + emit GameSelected(); + } else + { QStackedWidget::keyPressEvent(event); + } } void GameList::OnColumnVisibilityToggled(const QString& row, bool visible)