mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08:00
Clean up conversion to string
CURA-2071
This commit is contained in:
parent
8c231e2942
commit
71a9f2dd7a
@ -328,7 +328,7 @@ Item
|
|||||||
} else {
|
} else {
|
||||||
supportEnabled.setPropertyValue("value", true);
|
supportEnabled.setPropertyValue("value", true);
|
||||||
// Send the extruder nr as a string.
|
// Send the extruder nr as a string.
|
||||||
supportExtruderNr.setPropertyValue("value", parseInt(index - 1) + "");
|
supportExtruderNr.setPropertyValue("value", String(index - 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user