mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-06 17:37:21 +02:00
Columns: Attribute objects properly delegate to Column::setStyle to validate formats
This commit is contained in:
parent
e871976bb9
commit
ebd6273c86
8 changed files with 8 additions and 8 deletions
|
@ -46,7 +46,7 @@ ColumnStatus::ColumnStatus ()
|
|||
// Note that you can not determine which gets called first.
|
||||
void ColumnStatus::setStyle (const std::string& value)
|
||||
{
|
||||
_style = value;
|
||||
Column::setStyle (value);
|
||||
|
||||
if (_style == "short" && _label == STRING_COLUMN_LABEL_STATUS)
|
||||
_label = STRING_COLUMN_LABEL_STAT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue