From f2eb34d66a5cfa44f27c9885fcd527b89cb53d97 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 17:12:32 -0400 Subject: [PATCH] CmdAdd - Converted from A3 modifications to Task::modify. --- src/commands/CmdAdd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdAdd.cpp b/src/commands/CmdAdd.cpp index c0547b7f2..0e3a15092 100644 --- a/src/commands/CmdAdd.cpp +++ b/src/commands/CmdAdd.cpp @@ -51,7 +51,7 @@ int CmdAdd::execute (std::string& output) // Apply the command line modifications to the new task. Task task; - modify_task_description_replace (task, context.a3.extract_modifications ()); + task.modify (Task::modReplace); context.tdb2.add (task); if (context.verbose ("new-id"))