Clean up conversion to string

CURA-2071
This commit is contained in:
fieldOfView 2016-08-11 11:53:55 +02:00
parent 8c231e2942
commit 71a9f2dd7a

View file

@ -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 {