mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 23:48:58 +01:00
Merge pull request #9597 from Pokechu22/alt-enter
Open the properties window when alt+enter is used on the game list
This commit is contained in:
commit
f29c8b83c0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user