Columns: Attribute objects properly delegate to Column::setStyle to validate formats

This commit is contained in:
Paul Beckingham 2017-01-07 11:04:08 -05:00
parent e871976bb9
commit ebd6273c86
8 changed files with 8 additions and 8 deletions

View file

@ -47,7 +47,7 @@ ColumnStart::ColumnStart ()
// Note that you can not determine which gets called first.
void ColumnStart::setStyle (const std::string& value)
{
_style = value;
Column::setStyle (value);
if (_style == "active" && _label == STRING_COLUMN_LABEL_STARTED)
_label = STRING_COLUMN_LABEL_ACTIVE;