Enhancement

- Added the onProjectChange call to CmdModify.
This commit is contained in:
Paul Beckingham 2011-09-09 00:22:01 -04:00
parent d37e46cc48
commit 2de82aa3c1

View file

@ -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?