Remove unnecessary updateMaterialForDiameter()

CURA-5327
This commit is contained in:
Lipu Fei 2018-06-11 10:55:07 +02:00
parent 8ea3c879f4
commit c779795618
2 changed files with 1 additions and 10 deletions

View file

@ -158,4 +158,4 @@ class MachineSettingsAction(MachineAction):
@pyqtSlot(int)
def updateMaterialForDiameter(self, extruder_position: int):
# Updates the material container to a material that matches the material diameter set for the printer
self._application.getExtruderManager().updateMaterialForDiameter(extruder_position)
self._application.getMachineManager()._updateMaterialWithVariant(extruder_position)