Don't update brand and generic materials models upon switching active extruder

Because the list of materials can't change by that action.

Contributes to issue CURA-4606.
This commit is contained in:
Ghostkeeper 2018-03-12 16:28:41 +01:00
parent 0078340175
commit 5afcf2beac
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
2 changed files with 0 additions and 4 deletions

View file

@ -16,9 +16,7 @@ class GenericMaterialsModel(BaseMaterialsModel):
self._material_manager = CuraApplication.getInstance().getMaterialManager()
self._machine_manager.globalContainerChanged.connect(self._update)
self._extruder_manager.activeExtruderChanged.connect(self._update)
self._material_manager.materialsUpdated.connect(self._update)
self._update()
def _update(self):