mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Fix minor codereview issues
CURA-333
This commit is contained in:
parent
1e40d98fd7
commit
a6bb0c804a
3 changed files with 5 additions and 4 deletions
|
@ -82,6 +82,7 @@ class ExtrudersModel(UM.Qt.ListModel.ListModel):
|
|||
|
||||
|
||||
def _onExtruderStackContainersChanged(self, container):
|
||||
# The ExtrudersModel needs to be updated when the material-name or -color changes, because the user identifies extruders by material-name
|
||||
if container.getMetaDataEntry("type") == "material":
|
||||
self._updateExtruders()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue