mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-14 21:32:27 +00:00
Don't open the app context menu for mouse clicks
This commit is contained in:
parent
ce5dac07d3
commit
948910bfa2
1 changed files with 3 additions and 3 deletions
|
@ -198,9 +198,9 @@ GridView {
|
||||||
stackView.push(segue)
|
stackView.push(segue)
|
||||||
}
|
}
|
||||||
|
|
||||||
onClicked: {
|
Keys.onReturnPressed: {
|
||||||
if (model.running) {
|
if (model.running) {
|
||||||
// This will primarily be keyboard/gamepad driven so use
|
// This will be keyboard/gamepad driven so use
|
||||||
// open() instead of popup()
|
// open() instead of popup()
|
||||||
appContextMenu.open()
|
appContextMenu.open()
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,7 @@ GridView {
|
||||||
|
|
||||||
Keys.onMenuPressed: {
|
Keys.onMenuPressed: {
|
||||||
if (model.running) {
|
if (model.running) {
|
||||||
// This will primarily be keyboard/gamepad driven so use
|
// This will be keyboard/gamepad driven so use
|
||||||
// open() instead of popup()
|
// open() instead of popup()
|
||||||
appContextMenu.open()
|
appContextMenu.open()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue