Columns: Removed _fixed_width for indicator columns
- Column indicator formats (depends.indicator, for example), should not set the ::_fixed_width flag because then the column does not have the opportunity to be suppressed via rc.print.empty.colums=1.
This commit is contained in:
@@ -86,8 +86,10 @@ void ColumnRecur::measure (Task& task, unsigned int& minimum, unsigned int& maxi
|
||||
}
|
||||
else if (_style == "indicator")
|
||||
{
|
||||
minimum = maximum = utf8_width (context.config.get ("recurrence.indicator"));
|
||||
_fixed_width = true;
|
||||
if (task.has ("recur"))
|
||||
minimum = maximum = utf8_width (context.config.get ("recurrence.indicator"));
|
||||
else
|
||||
minimum = maximum = 0;
|
||||
}
|
||||
else
|
||||
throw format (STRING_COLUMN_BAD_FORMAT, _name, _style);
|
||||
|
||||
Reference in New Issue
Block a user