- Converted from A3 modifications to Task::modify.
This commit is contained in:
Paul Beckingham 2014-05-25 17:35:06 -04:00
parent 03d4aacc5c
commit a1a58bdc32

View file

@ -62,9 +62,6 @@ int CmdDone::execute (std::string& output)
return 1;
}
// Apply the command line modifications to the new task.
A3 modifications = context.a3.extract_modifications ();
// Accumulated project change notifications.
std::map <std::string, std::string> projectChanges;
@ -82,7 +79,7 @@ int CmdDone::execute (std::string& output)
task->id,
task->get ("description"));
modify_task_annotate (*task, modifications);
task->modify (Task::modAnnotate);
task->setStatus (Task::completed);
if (! task->has ("end"))
task->setEnd ();