Task
- Fixed bug where tag modifications were trying to access a 'tag' attribute, instead of the 'name' attribute.
This commit is contained in:
@@ -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 + "'");
|
||||||
|
|||||||
Reference in New Issue
Block a user