mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
Don't open the app context menu for mouse clicks
This commit is contained in:
@@ -198,9 +198,9 @@ GridView {
|
||||
stackView.push(segue)
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
Keys.onReturnPressed: {
|
||||
if (model.running) {
|
||||
// This will primarily be keyboard/gamepad driven so use
|
||||
// This will be keyboard/gamepad driven so use
|
||||
// open() instead of popup()
|
||||
appContextMenu.open()
|
||||
}
|
||||
@@ -211,7 +211,7 @@ GridView {
|
||||
|
||||
Keys.onMenuPressed: {
|
||||
if (model.running) {
|
||||
// This will primarily be keyboard/gamepad driven so use
|
||||
// This will be keyboard/gamepad driven so use
|
||||
// open() instead of popup()
|
||||
appContextMenu.open()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user