Fix adhesion type checkbox if default is skirt

The remove-unused-values feature doesn't work with settings that are resolved, because we try to remove them at the appropriate position in the stack but then we check at that position in the stack if the value is not the same as what it was, but with this check the resolve function is no longer evaluated. It's complex, but hard to solve because we can't try to remove it at this location and predict that this will change the actual final value after the resolve function has done its thing.

Contributes to issue CURA-5877.
This commit is contained in:
Ghostkeeper 2018-10-31 13:08:59 +01:00
parent 5cb72e298d
commit a5c2a73487
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -1118,6 +1118,7 @@ Item
{
id: platformAdhesionType
containerStack: Cura.MachineManager.activeMachine
removeUnusedValue: false //Doesn't work with settings that are resolved.
key: "adhesion_type"
watchedProperties: [ "value", "enabled" ]
storeIndex: 0