CURA-5071 Added brackets

This commit is contained in:
Ian Paschal 2018-03-13 13:29:00 +01:00
parent 0897c740b0
commit d10f0f7781

View file

@ -519,8 +519,9 @@ Item
// Update value only if the Recomended mode is Active,
// Otherwise if I change the value in the Custom mode the Recomended view will try to repeat
// same operation
if (UM.Preferences.getValue("cura/active_mode") == 0)
if (UM.Preferences.getValue("cura/active_mode") == 0) {
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
}
}
style: SliderStyle