- Fixed bug #862, which suppressed feedback from the 'denotate' command.
This commit is contained in:
Paul Beckingham 2011-10-06 08:44:16 -04:00
parent 084c2e5bc7
commit 1009af83d0
2 changed files with 3 additions and 0 deletions

View file

@ -95,6 +95,7 @@ int CmdDenotate::execute (std::string& output)
if (i->second == pattern)
{
match = true;
anno = i->second;
annotations.erase (i);
task->setAnnotations (annotations);
break;
@ -107,6 +108,7 @@ int CmdDenotate::execute (std::string& output)
std::string::size_type loc = find (i->second, pattern, sensitive);
if (loc != std::string::npos)
{
anno = i->second;
annotations.erase (i);
task->setAnnotations (annotations);
break;