diff --git a/src/commands/CmdDone.cpp b/src/commands/CmdDone.cpp index 4c26da3aa..03e04eaea 100644 --- a/src/commands/CmdDone.cpp +++ b/src/commands/CmdDone.cpp @@ -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 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 ();