Fix minor codereview issues

CURA-333
This commit is contained in:
fieldOfView 2016-06-22 17:19:14 +02:00
parent 1e40d98fd7
commit a6bb0c804a
3 changed files with 5 additions and 4 deletions

View file

@ -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()