- Converted from A3 modifications to Task::modify.
This commit is contained in:
Paul Beckingham 2014-05-25 17:27:34 -04:00
parent 350b73cb8c
commit 969db3a9ed

View file

@ -61,9 +61,6 @@ int CmdStop::execute (std::string& output)
return 1; return 1;
} }
// Apply the command line modifications to the new task.
A3 modifications = context.a3.extract_modifications ();
// Accumulated project change notifications. // Accumulated project change notifications.
std::map <std::string, std::string> projectChanges; std::map <std::string, std::string> projectChanges;
@ -79,7 +76,7 @@ int CmdStop::execute (std::string& output)
task->id, task->id,
task->get ("description")); task->get ("description"));
modify_task_annotate (*task, modifications); task->modify (Task::modAnnotate);
task->remove ("start"); task->remove ("start");
if (context.config.getBoolean ("journal.time")) if (context.config.getBoolean ("journal.time"))