Ensure we re-evaluate the inheritance icon binding when it changes

Contributes to CURA-2752
This commit is contained in:
Arjen Hiemstra 2016-10-25 13:10:03 +02:00
parent 29b357894d
commit b0d6d7034a

View file

@ -202,6 +202,13 @@ Item {
return false;
}
if(!propertyProvider.properties.enabled)
{
// Note: This is not strictly necessary since a disabled setting is hidden anyway.
// But this will cause the binding to be re-evaluated when the enabled property changes.
return false;
}
if(globalPropertyProvider.properties.limit_to_extruder == null || globalPropertyProvider.properties.limit_to_extruder == -1)
{
return Cura.SettingInheritanceManager.settingsWithInheritanceWarning.indexOf(definition.key) >= 0;