mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-10 06:21:48 +08:00
Backspace now triggers same action as delete
CURA-1891
This commit is contained in:
parent
a19123eb66
commit
1ed0503e02
@ -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…
x
Reference in New Issue
Block a user