Enhancement
- Added the onProjectChange call to CmdModify.
This commit is contained in:
@@ -82,6 +82,8 @@ int CmdModify::execute (std::string& output)
|
|||||||
{
|
{
|
||||||
++count;
|
++count;
|
||||||
context.tdb2.modify (*task);
|
context.tdb2.modify (*task);
|
||||||
|
if (before.get ("project") != task->get ("project"))
|
||||||
|
context.footnote (onProjectChange (before, *task));
|
||||||
|
|
||||||
// Perform some logical consistency checks.
|
// Perform some logical consistency checks.
|
||||||
// TODO Shouldn't these tests be in Task::validate?
|
// TODO Shouldn't these tests be in Task::validate?
|
||||||
|
|||||||
Reference in New Issue
Block a user