diff --git a/cura/SettingOverrideDecorator.py b/cura/SettingOverrideDecorator.py index 7615dbe873..24360ed992 100644 --- a/cura/SettingOverrideDecorator.py +++ b/cura/SettingOverrideDecorator.py @@ -51,8 +51,8 @@ class SettingOverrideDecorator(SceneNodeDecorator): def getActiveExtruder(self): return self._extruder_stack - def _onSettingChanged(self, instance, attribute): # Reminder: 'property' is a built-in function - if attribute == "value": # Only reslice if the value has changed. + def _onSettingChanged(self, instance, property_name): # Reminder: 'property' is a built-in function + if property_name == "value": # Only reslice if the value has changed. Application.getInstance().getBackend().forceSlice() ## Makes sure that the stack upon which the container stack is placed is @@ -78,4 +78,4 @@ class SettingOverrideDecorator(SceneNodeDecorator): self.activeExtruderChanged.emit() def getStack(self): - return self._stack \ No newline at end of file + return self._stack