From 29c307f364dee8df49705a3554701b92ce8ac7ab Mon Sep 17 00:00:00 2001 From: Tamara Hogenhout Date: Mon, 10 Aug 2015 12:24:24 +0200 Subject: [PATCH] Adds the backspace as a schortcut to trigger the delete object action. This StandardKey only works for MacOS, for more info see http://doc.qt.io/QtVirtualKeyboard/qml-qtquick-enterprise-virtualkeyboard-backspacekey.html fixes #237 --- resources/qml/Actions.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/Actions.qml b/resources/qml/Actions.qml index d364b462b6..8d5b8337f0 100644 --- a/resources/qml/Actions.qml +++ b/resources/qml/Actions.qml @@ -119,6 +119,7 @@ Item { //: Delete object action text: qsTr("Delete Object"); iconName: "edit-delete"; + shortcut: StandardKey.Backspace; } Action { @@ -126,7 +127,7 @@ Item { //: Center object action text: qsTr("Center Object on Platform"); } - + Action { id: groupObjectsAction