mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:09:06 +08:00
Inheritance manager now also checks for inheritance if enabled property changed
CURA-2860
This commit is contained in:
parent
c69ffd5b32
commit
c1dda7505c
@ -85,7 +85,7 @@ class SettingInheritanceManager(QObject):
|
||||
self._update() # Ensure that the settings_with_inheritance_warning list is populated.
|
||||
|
||||
def _onPropertyChanged(self, key, property_name):
|
||||
if property_name == "value" and self._global_container_stack:
|
||||
if (property_name == "value" or property_name == "enabled") and self._global_container_stack:
|
||||
definitions = self._global_container_stack.getBottom().findDefinitions(key = key)
|
||||
if not definitions:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user