mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-22 11:13:09 +02:00
ColTags: Corrected use of _name
This commit is contained in:
parent
92e289cb3d
commit
3fa0e7c1ad
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ void ColumnTags::measure (Task& task, unsigned int& minimum, unsigned int& maxim
|
||||||
{
|
{
|
||||||
if (_style == "indicator")
|
if (_style == "indicator")
|
||||||
{
|
{
|
||||||
if (task.has ("tags"))
|
if (task.has (_name))
|
||||||
minimum = maximum = utf8_width (context.config.get ("tag.indicator"));
|
minimum = maximum = utf8_width (context.config.get ("tag.indicator"));
|
||||||
else
|
else
|
||||||
minimum = maximum = 0;
|
minimum = maximum = 0;
|
||||||
|
@ -163,7 +163,7 @@ void ColumnTags::modify (Task& task, const std::string& value)
|
||||||
std::string label = " [1;37;43mMODIFICATION[0m ";
|
std::string label = " [1;37;43mMODIFICATION[0m ";
|
||||||
|
|
||||||
// TW-1701
|
// TW-1701
|
||||||
task.set ("tags", "");
|
task.set (_name, "");
|
||||||
|
|
||||||
for (auto& tag : split (value, ','))
|
for (auto& tag : split (value, ','))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue