UI: Support pressing space to open MenuButton

This commit is contained in:
Matt Gajownik
2022-06-25 14:39:30 +10:00
parent 0135af9c34
commit 76cc739c7f
+1
View File
@@ -12,6 +12,7 @@ void MenuButton::keyPressEvent(QKeyEvent *event)
emit clicked();
return;
case Qt::Key_Down:
case Qt::Key_Space:
showMenu();
return;
}