mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ColStart: Removed redundant code
This commit is contained in:
parent
5ae1da51b7
commit
24f6b2665f
1 changed files with 1 additions and 6 deletions
|
@ -62,12 +62,7 @@ void ColumnStart::measure (Task& task, unsigned int& minimum, unsigned int& maxi
|
||||||
if (task.has (_name))
|
if (task.has (_name))
|
||||||
{
|
{
|
||||||
if (_style == "active")
|
if (_style == "active")
|
||||||
{
|
minimum = maximum = utf8_width (context.config.get ("active.indicator"));
|
||||||
if (task.has ("start"))
|
|
||||||
minimum = maximum = utf8_width (context.config.get ("active.indicator"));
|
|
||||||
else
|
|
||||||
minimum = maximum = 0;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
ColumnTypeDate::measure (task, minimum, maximum);
|
ColumnTypeDate::measure (task, minimum, maximum);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue