mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:38:59 +08:00
Show "Protected profiles" / "Custom profiles" section on profiles page
CURA-855
This commit is contained in:
parent
f498f0237c
commit
8f4f67d552
@ -36,6 +36,22 @@ UM.ManagementPage
|
||||
}
|
||||
}
|
||||
|
||||
section.property: "readOnly"
|
||||
section.delegate: Rectangle
|
||||
{
|
||||
width: objectListContainer.viewport.width;
|
||||
height: childrenRect.height;
|
||||
color: palette.light
|
||||
|
||||
Label
|
||||
{
|
||||
anchors.left: parent.left;
|
||||
anchors.leftMargin: UM.Theme.getSize("default_lining").width;
|
||||
text: section == "true" ? catalog.i18nc("@label", "Protected profiles") : catalog.i18nc("@label", "Custom profiles")
|
||||
font.bold: true
|
||||
}
|
||||
}
|
||||
|
||||
activeId: Cura.MachineManager.activeQualityId
|
||||
activeIndex: {
|
||||
for(var i = 0; i < model.rowCount(); i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user