mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06: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
1 changed files with 2 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue