Allow settings to be activated when an app or PC is in focus

This commit is contained in:
Cameron Gutman
2018-09-30 13:52:38 -07:00
parent d706e81cd4
commit 162a16ed3a
2 changed files with 13 additions and 1 deletions
+7
View File
@@ -47,6 +47,13 @@ ApplicationWindow {
Keys.onMenuPressed: {
settingsButton.clicked()
}
// This is a keypress we've reserved for letting the
// SdlGamepadKeyNavigation object tell us to show settings
// when Menu is consumed by a focused control.
Keys.onHangupPressed: {
settingsButton.clicked()
}
}
onVisibilityChanged: {