From 350b73cb8cb35036cbb8ff6252ebb0aa980caf60 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 17:24:59 -0400 Subject: [PATCH] CmdStart - Converted from A3 modifications to Task::modify. --- src/commands/CmdStart.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/commands/CmdStart.cpp b/src/commands/CmdStart.cpp index 61889d473..19d4e7c03 100644 --- a/src/commands/CmdStart.cpp +++ b/src/commands/CmdStart.cpp @@ -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 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"))