mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Allow settings to be activated when an app or PC is in focus
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user