Project Status

- The modify command was calling the wrong onProjectChange variant, which
  yielded the wrong status message.
This commit is contained in:
Paul Beckingham 2011-10-21 00:17:35 -04:00
parent 670fe1f3e5
commit 222c44b6f1

View file

@ -109,7 +109,7 @@ int CmdModify::execute (std::string& output)
++count;
feedback_affected (STRING_CMD_MODIFY_TASK, *task);
dependencyChainOnModify (before, *task);
context.footnote (onProjectChange (*task, true));
context.footnote (onProjectChange (before, *task));
// Delete siblings.
if (task->has ("parent"))
@ -126,7 +126,7 @@ int CmdModify::execute (std::string& output)
updateRecurrenceMask (*sibling);
context.tdb2.modify (*sibling);
dependencyChainOnModify (alternate, *sibling);
context.footnote (onProjectChange (*sibling, true));
context.footnote (onProjectChange (alternate, *sibling));
++count;
feedback_affected (STRING_CMD_MODIFY_TASK_R, *sibling);
}