MapColourColumn::set() uses the correct color value

pull/35/head
Stanislav Bas 10 years ago
parent caeba1b887
commit e516d37cbf

@ -694,7 +694,7 @@ namespace CSMWorld
QColor colour = data.value<QColor>();
record2.mMapColor = colour.rgb() & 0xffffff;
record2.mMapColor = (colour.blue() << 16) | (colour.green() << 8) | colour.red();
record.setModified (record2);
}

Loading…
Cancel
Save