mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:19:00 +08:00
Disable actions while tooloperation is ongoing
This commit is contained in:
parent
c1c2c0030e
commit
3768975aae
@ -127,6 +127,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: deleteSelectionAction;
|
id: deleteSelectionAction;
|
||||||
text: catalog.i18nc("@action:inmenu menubar:edit","Delete &Selection");
|
text: catalog.i18nc("@action:inmenu menubar:edit","Delete &Selection");
|
||||||
|
enabled: UM.Controller.toolsEnabled;
|
||||||
iconName: "edit-delete";
|
iconName: "edit-delete";
|
||||||
shortcut: StandardKey.Delete;
|
shortcut: StandardKey.Delete;
|
||||||
}
|
}
|
||||||
@ -135,6 +136,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: deleteObjectAction;
|
id: deleteObjectAction;
|
||||||
text: catalog.i18nc("@action:inmenu","Delete Object");
|
text: catalog.i18nc("@action:inmenu","Delete Object");
|
||||||
|
enabled: UM.Controller.toolsEnabled;
|
||||||
iconName: "edit-delete";
|
iconName: "edit-delete";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -179,6 +181,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: deleteAllAction;
|
id: deleteAllAction;
|
||||||
text: catalog.i18nc("@action:inmenu menubar:edit","&Clear Build Platform");
|
text: catalog.i18nc("@action:inmenu menubar:edit","&Clear Build Platform");
|
||||||
|
enabled: UM.Controller.toolsEnabled;
|
||||||
iconName: "edit-delete";
|
iconName: "edit-delete";
|
||||||
shortcut: "Ctrl+D";
|
shortcut: "Ctrl+D";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user