Fix inability to open app menu with gamepad

This commit is contained in:
Cameron Gutman 2020-11-21 13:28:04 -06:00
parent 193e196c46
commit aa4684077d

View file

@ -225,11 +225,8 @@ CenteredGridView {
}
Keys.onMenuPressed: {
if (model.running) {
// This will be keyboard/gamepad driven so use
// open() instead of popup()
appContextMenu.open()
}
// This will be keyboard/gamepad driven so use open() instead of popup()
appContextMenu.open()
}
function doQuitGame() {