From 222c44b6f1cf0820e19ba0072dbe49f48cbac3ab Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 21 Oct 2011 00:17:35 -0400 Subject: [PATCH] Project Status - The modify command was calling the wrong onProjectChange variant, which yielded the wrong status message. --- src/commands/CmdModify.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdModify.cpp b/src/commands/CmdModify.cpp index edba6811b..fe7d3b274 100644 --- a/src/commands/CmdModify.cpp +++ b/src/commands/CmdModify.cpp @@ -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); }