Fix code style.

Contributes to CURA-5682.
This commit is contained in:
Diego Prado Gesto 2018-09-12 16:37:16 +02:00
parent 6183a07d76
commit e3f67f1147

View file

@ -567,7 +567,7 @@ TabView
// don't change when new name is the same // don't change when new name is the same
if (old_name == new_name) if (old_name == new_name)
{ {
return; return
} }
// update the values // update the values
@ -576,14 +576,14 @@ TabView
} }
// update the type of the material // update the type of the material
function updateMaterialType (old_type, new_type) function updateMaterialType(old_type, new_type)
{ {
base.setMetaDataEntry("material", old_type, new_type); base.setMetaDataEntry("material", old_type, new_type);
materialProperties.material= new_type; materialProperties.material = new_type;
} }
// update the brand of the material // update the brand of the material
function updateMaterialBrand (old_brand, new_brand) function updateMaterialBrand(old_brand, new_brand)
{ {
base.setMetaDataEntry("brand", old_brand, new_brand); base.setMetaDataEntry("brand", old_brand, new_brand);
materialProperties.brand = new_brand; materialProperties.brand = new_brand;