ColTags: Removed redundant code

This commit is contained in:
Paul Beckingham 2016-12-31 11:47:34 -05:00
parent b6d19ce1ad
commit 78ff1975b2

View file

@ -80,10 +80,7 @@ void ColumnTags::measure (Task& task, unsigned int& minimum, unsigned int& maxim
{ {
if (_style == "indicator") if (_style == "indicator")
{ {
if (task.has (_name))
minimum = maximum = utf8_width (context.config.get ("tag.indicator")); minimum = maximum = utf8_width (context.config.get ("tag.indicator"));
else
minimum = maximum = 0;
} }
else if (_style == "count") else if (_style == "count")
{ {