mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Fix code style.
Contributes to CURA-5682.
This commit is contained in:
parent
6183a07d76
commit
e3f67f1147
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue