ColTags: Removed redundant code
This commit is contained in:
@@ -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")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user