mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 18:23:12 +08:00
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
This commit is contained in:
parent
0962fdddf1
commit
29c307f364
@ -119,6 +119,7 @@ Item {
|
|||||||
//: Delete object action
|
//: Delete object action
|
||||||
text: qsTr("Delete Object");
|
text: qsTr("Delete Object");
|
||||||
iconName: "edit-delete";
|
iconName: "edit-delete";
|
||||||
|
shortcut: StandardKey.Backspace;
|
||||||
}
|
}
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
@ -126,7 +127,7 @@ Item {
|
|||||||
//: Center object action
|
//: Center object action
|
||||||
text: qsTr("Center Object on Platform");
|
text: qsTr("Center Object on Platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: groupObjectsAction
|
id: groupObjectsAction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user