- Converted from A3 modifications to Task::modify.
This commit is contained in:
Paul Beckingham 2014-05-25 17:24:59 -04:00
parent e0e71bb065
commit 350b73cb8c

View file

@ -62,9 +62,6 @@ int CmdStart::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;
@ -80,8 +77,7 @@ int CmdStart::execute (std::string& output)
std::string question = format (STRING_CMD_START_CONFIRM,
task->id,
task->get ("description"));
modify_task_annotate (*task, modifications);
task->modify (Task::modAnnotate);
task->setStart ();
if (context.config.getBoolean ("journal.time"))