mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
Show "Protected profiles" / "Custom profiles" section on profiles page
CURA-855
This commit is contained in:
parent
f498f0237c
commit
8f4f67d552
1 changed files with 16 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue