mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Backspace now triggers same action as delete
CURA-1891
This commit is contained in:
parent
a19123eb66
commit
1ed0503e02
1 changed files with 1 additions and 4 deletions
|
@ -54,10 +54,7 @@ UM.MainWindow
|
||||||
Keys.onPressed: {
|
Keys.onPressed: {
|
||||||
if (event.key == Qt.Key_Backspace)
|
if (event.key == Qt.Key_Backspace)
|
||||||
{
|
{
|
||||||
if(objectContextMenu.objectId != 0)
|
Cura.Actions.deleteSelection.trigger()
|
||||||
{
|
|
||||||
Printer.deleteObject(objectContextMenu.objectId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue