From 71a9f2dd7a64c94259fea3df7943bc716430d442 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Thu, 11 Aug 2016 11:53:55 +0200 Subject: [PATCH] Clean up conversion to string CURA-2071 --- resources/qml/SidebarSimple.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {