mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
No longer possible to remove profiles that are in use
CURA-2168
This commit is contained in:
parent
3ec6c3b977
commit
aa28ecca37
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ UM.ManagementPage
|
|||
{
|
||||
text: catalog.i18nc("@action:button", "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();
|
||||
},
|
||||
Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue