mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 01:23:14 +08:00
CURA-5327 fix crash when changing material diameter
This commit is contained in:
parent
b3f6e5c9e0
commit
89c84eb93b
@ -158,4 +158,4 @@ class MachineSettingsAction(MachineAction):
|
|||||||
@pyqtSlot(int)
|
@pyqtSlot(int)
|
||||||
def updateMaterialForDiameter(self, extruder_position: int):
|
def updateMaterialForDiameter(self, extruder_position: int):
|
||||||
# Updates the material container to a material that matches the material diameter set for the printer
|
# Updates the material container to a material that matches the material diameter set for the printer
|
||||||
self._application.getMachineManager().updateMaterialWithVariant(extruder_position)
|
self._application.getMachineManager().updateMaterialWithVariant(str(extruder_position))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user