Fix updating of object styles in relation to type after recent changes

pull/54/merge
Candid Dauth 2016-10-25 18:40:45 +03:00
rodzic 443b1c3e7a
commit 74f888977f
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -294,7 +294,6 @@ function _updateObjectStyles(objectStream, isLine) {
var option = _find(object.data[field.name]) || _find(field.default) || field.options[0];
var update = { };
if(option != null) {
if(field.controlColour && object.colour != option.colour)
update.colour = option.colour;