mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:19:00 +08:00
No longer possible to remove profiles that are in use
CURA-2168
This commit is contained in:
parent
3ec6c3b977
commit
aa28ecca37
@ -91,7 +91,7 @@ UM.ManagementPage
|
|||||||
{
|
{
|
||||||
text: catalog.i18nc("@action:button", "Remove");
|
text: catalog.i18nc("@action:button", "Remove");
|
||||||
iconName: "list-remove";
|
iconName: "list-remove";
|
||||||
enabled: base.currentItem != null ? !base.currentItem.readOnly : false;
|
enabled: base.currentItem != null ? !base.currentItem.readOnly && !Cura.ContainerManager.isContainerUsed(base.currentItem.id) : false;
|
||||||
onClicked: confirmDialog.open();
|
onClicked: confirmDialog.open();
|
||||||
},
|
},
|
||||||
Button
|
Button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user