From 8e039c4a8a53021d3c2a9a7f099f2871cf008c43 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 1 Nov 2014 22:21:18 -0400 Subject: [PATCH] Task - Fixed bug where tag modifications were trying to access a 'tag' attribute, instead of the 'name' attribute. --- src/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index d51f88661..8121d7a72 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -2122,7 +2122,7 @@ void Task::modify (modType type, bool text_required /* = false */) // appropriate. else if (a->hasTag ("TAG")) { - std::string tag = a->attribute ("tag"); + std::string tag = a->attribute ("name"); if (a->attribute ("sign") == "+") { context.debug (label + "tags <-- add '" + tag + "'");