mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task
- Fixed bug where tag modifications were trying to access a 'tag' attribute, instead of the 'name' attribute.
This commit is contained in:
parent
a078ad41e8
commit
8e039c4a8a
1 changed files with 1 additions and 1 deletions
|
@ -2122,7 +2122,7 @@ void Task::modify (modType type, bool text_required /* = false */)
|
||||||
// appropriate.
|
// appropriate.
|
||||||
else if (a->hasTag ("TAG"))
|
else if (a->hasTag ("TAG"))
|
||||||
{
|
{
|
||||||
std::string tag = a->attribute ("tag");
|
std::string tag = a->attribute ("name");
|
||||||
if (a->attribute ("sign") == "+")
|
if (a->attribute ("sign") == "+")
|
||||||
{
|
{
|
||||||
context.debug (label + "tags <-- add '" + tag + "'");
|
context.debug (label + "tags <-- add '" + tag + "'");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue