mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Also allow backspace to delete models
See the documentation in the code as to why. Macintosh keyboards... Fixes #3257.
This commit is contained in:
parent
1743954ef7
commit
acbc6893f5
1 changed files with 10 additions and 0 deletions
|
@ -236,6 +236,16 @@ Item
|
||||||
onTriggered: CuraActions.deleteSelection();
|
onTriggered: CuraActions.deleteSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Action //Also add backspace as the same function as delete because on Macintosh keyboards the button called "delete" is actually a backspace, and the user expects it to function as a delete.
|
||||||
|
{
|
||||||
|
id: backspaceSelectionAction
|
||||||
|
text: catalog.i18ncp("@action:inmenu menubar:edit", "Delete &Selected Model", "Delete &Selected Models", UM.Selection.selectionCount)
|
||||||
|
enabled: UM.Controller.toolsEnabled && UM.Selection.hasSelection
|
||||||
|
iconName: "edit-delete"
|
||||||
|
shortcut: StandardKey.Backspace
|
||||||
|
onTriggered: CuraActions.deleteSelection()
|
||||||
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: centerSelectionAction;
|
id: centerSelectionAction;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue