mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +08:00
Don't change the model depending on isValidMaterial
That would cause a circular dependency in a way. Contributes to issue CURA-6033.
This commit is contained in:
parent
e8ea742cf6
commit
5e98544541
@ -62,19 +62,13 @@ Button
|
||||
Repeater
|
||||
{
|
||||
id: repeater
|
||||
model:
|
||||
{
|
||||
if (configurationItem.isValidMaterial)
|
||||
{
|
||||
return configuration.extruderConfigurations
|
||||
}
|
||||
return []
|
||||
}
|
||||
model: configuration.extruderConfigurations
|
||||
|
||||
delegate: PrintCoreConfiguration
|
||||
{
|
||||
width: Math.round(parent.width / 2)
|
||||
printCoreConfiguration: modelData
|
||||
visible: configurationItem.isValidMaterial
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user