mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 02:06:01 +08:00
Changing name of extruder also changes name in container stack
This name may be used to get a unique human-readable name. Just for consistency really. Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
parent
df363a024a
commit
e16fedf2d8
@ -135,9 +135,12 @@ class Extruder:
|
||||
return self._name
|
||||
|
||||
## Changes the name of this extruder.
|
||||
#
|
||||
# \param value The new name for this extruder.
|
||||
@name.setter
|
||||
def name(self, value):
|
||||
self._name = value
|
||||
self._container_stack.setName(value) #Also update in container stack, being defensive.
|
||||
self.name_changed.emit()
|
||||
|
||||
## Gets the currently active nozzle on this extruder.
|
||||
|
Loading…
x
Reference in New Issue
Block a user