mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Ensure we re-evaluate the inheritance icon binding when it changes
Contributes to CURA-2752
This commit is contained in:
parent
29b357894d
commit
b0d6d7034a
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue