diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index 1cc9dac6f9..ac9642cc06 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -328,7 +328,7 @@ Item } else { supportEnabled.setPropertyValue("value", true); // Send the extruder nr as a string. - supportExtruderNr.setPropertyValue("value", parseInt(index - 1) + ""); + supportExtruderNr.setPropertyValue("value", String(index - 1)); } } MouseArea {