Project Status
- The modify command was calling the wrong onProjectChange variant, which yielded the wrong status message.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user