From 948910bfa21374ca481e3facf5b1d423bfe5b0c8 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 3 Apr 2019 20:27:00 -0700 Subject: [PATCH] Don't open the app context menu for mouse clicks --- app/gui/AppView.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/gui/AppView.qml b/app/gui/AppView.qml index 2e9e9a9c..203e8281 100644 --- a/app/gui/AppView.qml +++ b/app/gui/AppView.qml @@ -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() }