From 2de82aa3c17201ce1605b4fa1986292eca30176e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 9 Sep 2011 00:22:01 -0400 Subject: [PATCH] Enhancement - Added the onProjectChange call to CmdModify. --- src/commands/CmdModify.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/CmdModify.cpp b/src/commands/CmdModify.cpp index 33b6c0d58..05c33a507 100644 --- a/src/commands/CmdModify.cpp +++ b/src/commands/CmdModify.cpp @@ -82,6 +82,8 @@ int CmdModify::execute (std::string& output) { ++count; context.tdb2.modify (*task); + if (before.get ("project") != task->get ("project")) + context.footnote (onProjectChange (before, *task)); // Perform some logical consistency checks. // TODO Shouldn't these tests be in Task::validate?