Skip to content
Permalink
Browse files
Merge pull request #9597 from Pokechu22/alt-enter
Open the properties window when alt+enter is used on the game list
  • Loading branch information
leoetlino committed Mar 26, 2021
2 parents 9e21f6f + e6bd7a8 commit f29c8b8
Showing 1 changed file with 8 additions and 1 deletion.
@@ -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)

0 comments on commit f29c8b8

Please sign in to comment.