mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-02 03:37:19 +02:00
Project Status
- The modify command was calling the wrong onProjectChange variant, which yielded the wrong status message.
This commit is contained in:
parent
670fe1f3e5
commit
222c44b6f1
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ int CmdModify::execute (std::string& output)
|
||||||
++count;
|
++count;
|
||||||
feedback_affected (STRING_CMD_MODIFY_TASK, *task);
|
feedback_affected (STRING_CMD_MODIFY_TASK, *task);
|
||||||
dependencyChainOnModify (before, *task);
|
dependencyChainOnModify (before, *task);
|
||||||
context.footnote (onProjectChange (*task, true));
|
context.footnote (onProjectChange (before, *task));
|
||||||
|
|
||||||
// Delete siblings.
|
// Delete siblings.
|
||||||
if (task->has ("parent"))
|
if (task->has ("parent"))
|
||||||
|
@ -126,7 +126,7 @@ int CmdModify::execute (std::string& output)
|
||||||
updateRecurrenceMask (*sibling);
|
updateRecurrenceMask (*sibling);
|
||||||
context.tdb2.modify (*sibling);
|
context.tdb2.modify (*sibling);
|
||||||
dependencyChainOnModify (alternate, *sibling);
|
dependencyChainOnModify (alternate, *sibling);
|
||||||
context.footnote (onProjectChange (*sibling, true));
|
context.footnote (onProjectChange (alternate, *sibling));
|
||||||
++count;
|
++count;
|
||||||
feedback_affected (STRING_CMD_MODIFY_TASK_R, *sibling);
|
feedback_affected (STRING_CMD_MODIFY_TASK_R, *sibling);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue