Fix typo in the getCompatibleMaterialDiameter function.

Contributes to CURA-5834.
This commit is contained in:
Diego Prado Gesto 2018-10-23 10:25:13 +02:00
parent ea9aa2c777
commit 94ef0b92fe
4 changed files with 11 additions and 11 deletions

View file

@ -410,7 +410,7 @@ Cura.MachineAction
}
function setValueFunction(value)
{
Cura.MachineManager.activeStack.compatibleMaterialDiameter = value;
Cura.MachineManager.activeStack.compatibleMaterialDiameter = value
}
property bool isExtruderSetting: true
}
@ -634,19 +634,19 @@ Cura.MachineAction
// are available.
if (_setValueFunction !== undefined)
{
_setValueFunction(text);
_setValueFunction(text)
}
else
{
propertyProvider.setPropertyValue("value", text);
propertyProvider.setPropertyValue("value", text)
}
if(_forceUpdateOnChange)
{
manager.forceUpdate();
manager.forceUpdate()
}
if(_afterOnEditingFinished)
{
_afterOnEditingFinished();
_afterOnEditingFinished()
}
}
}