diff --git a/src/commands/CmdStop.cpp b/src/commands/CmdStop.cpp index f6c7f3da6..b117c063e 100644 --- a/src/commands/CmdStop.cpp +++ b/src/commands/CmdStop.cpp @@ -61,9 +61,6 @@ int CmdStop::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; @@ -79,7 +76,7 @@ int CmdStop::execute (std::string& output) task->id, task->get ("description")); - modify_task_annotate (*task, modifications); + task->modify (Task::modAnnotate); task->remove ("start"); if (context.config.getBoolean ("journal.time"))