Fix coding style

CURA-4147
This commit is contained in:
Lipu Fei 2017-08-18 13:38:12 +02:00
parent bab61b7f47
commit 662e3b9cd1
2 changed files with 20 additions and 14 deletions

View File

@ -199,6 +199,7 @@ Column
menu: NozzleMenu { extruderIndex: base.currentExtruderIndex } menu: NozzleMenu { extruderIndex: base.currentExtruderIndex }
} }
} }
// Material Row // Material Row
Item Item
{ {
@ -254,6 +255,7 @@ Column
menu: MaterialMenu { extruderIndex: base.currentExtruderIndex } menu: MaterialMenu { extruderIndex: base.currentExtruderIndex }
} }
} }
// Material info row // Material info row
Item Item
{ {
@ -287,10 +289,14 @@ Column
color: color:
{ {
if (!Cura.MachineManager.isActiveQualitySupported) if (!Cura.MachineManager.isActiveQualitySupported)
{
UM.Theme.getColor("setting_validation_error"); UM.Theme.getColor("setting_validation_error");
}
else else
{
UM.Theme.getColor("text"); UM.Theme.getColor("text");
} }
}
MouseArea MouseArea
{ {