mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Open the properties window when alt+enter is used on the game list
This commit is contained in:
@ -856,9 +856,16 @@ void GameList::ConsiderViewChange()
|
|||||||
void GameList::keyPressEvent(QKeyEvent* event)
|
void GameList::keyPressEvent(QKeyEvent* event)
|
||||||
{
|
{
|
||||||
if (event->key() == Qt::Key_Return && GetSelectedGame() != nullptr)
|
if (event->key() == Qt::Key_Return && GetSelectedGame() != nullptr)
|
||||||
emit GameSelected();
|
{
|
||||||
|
if (event->modifiers() == Qt::AltModifier)
|
||||||
|
OpenProperties();
|
||||||
|
else
|
||||||
|
emit GameSelected();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
QStackedWidget::keyPressEvent(event);
|
QStackedWidget::keyPressEvent(event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameList::OnColumnVisibilityToggled(const QString& row, bool visible)
|
void GameList::OnColumnVisibilityToggled(const QString& row, bool visible)
|
||||||
|
Reference in New Issue
Block a user