mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
CURA-5327 fix crash when changing material diameter
This commit is contained in:
parent
b3f6e5c9e0
commit
89c84eb93b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue