Minor codestyle fix

This commit is contained in:
Arjen Hiemstra 2017-04-26 16:18:23 +02:00
parent 80bf6988ca
commit 60339eb44b

View File

@ -208,8 +208,7 @@ QtObject {
color: {
if(control.customColor !== undefined && control.customColor !== null) {
return control.customColor
}
else if(control.checkable && control.checked && control.hovered) {
} else if(control.checkable && control.checked && control.hovered) {
return Theme.getColor("button_active_hover");
} else if(control.pressed || (control.checkable && control.checked)) {
return Theme.getColor("button_active");