mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Filter the list of quality changes taking into account the quality(-type) profile they depend on.
Contributes to CURA-2248 Duplicated profile not shown in the profile manager list
This commit is contained in:
parent
e66548099a
commit
963fac7806
7 changed files with 94 additions and 38 deletions
|
@ -33,13 +33,8 @@ Menu
|
|||
Instantiator
|
||||
{
|
||||
id: customProfileInstantiator
|
||||
model: UM.InstanceContainersModel
|
||||
model: Cura.UserProfilesModel
|
||||
{
|
||||
filter: ({
|
||||
"type": "quality_changes",
|
||||
"extruder": null,
|
||||
"definition": Cura.MachineManager.filterQualityByMachine ? Cura.MachineManager.activeQualityDefinitionId : "fdmprinter"
|
||||
})
|
||||
onModelReset: customSeparator.visible = rowCount() > 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue