mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement
- Added the onProjectChange call to CmdModify.
This commit is contained in:
parent
d37e46cc48
commit
2de82aa3c1
1 changed files with 2 additions and 0 deletions
|
@ -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?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue