mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Using a save name for variable "property"
Using "property" here might be not save. Just replaced that variable with "attribute" and added a reminder, so nobody renames it to "property" again.
This commit is contained in:
parent
67a3ae36a5
commit
41d03536eb
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ class SettingOverrideDecorator(SceneNodeDecorator):
|
||||||
def getActiveExtruder(self):
|
def getActiveExtruder(self):
|
||||||
return self._extruder_stack
|
return self._extruder_stack
|
||||||
|
|
||||||
def _onSettingChanged(self, instance, property):
|
def _onSettingChanged(self, instance, attribute): # Reminder: 'property' is a built-in function
|
||||||
if property == "value": # Only reslice if the value has changed.
|
if attribute == "value": # Only reslice if the value has changed.
|
||||||
Application.getInstance().getBackend().forceSlice()
|
Application.getInstance().getBackend().forceSlice()
|
||||||
|
|
||||||
## Makes sure that the stack upon which the container stack is placed is
|
## Makes sure that the stack upon which the container stack is placed is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue