mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
ColDepends: Corrected use of _name
This commit is contained in:
parent
e1e21f30fe
commit
b45e226db9
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ void ColumnDepends::measure (Task& task, unsigned int& minimum, unsigned int& ma
|
|||
|
||||
if (_style == "indicator")
|
||||
{
|
||||
if (task.has ("depends"))
|
||||
if (task.has (_name))
|
||||
minimum = maximum = utf8_width (context.config.get ("dependency.indicator"));
|
||||
else
|
||||
minimum = maximum = 0;
|
||||
|
@ -86,7 +86,7 @@ void ColumnDepends::measure (Task& task, unsigned int& minimum, unsigned int& ma
|
|||
_style == "list")
|
||||
{
|
||||
minimum = maximum = 0;
|
||||
if (task.has ("depends"))
|
||||
if (task.has (_name))
|
||||
{
|
||||
std::vector <int> blocking_ids;
|
||||
for (auto& i : blocking)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue