Code Cleanup

- Consistent scheme for printing project change information: always
  shows the progress estimation and add a notification that the project
  has changed if the number of tasks is changed.
This commit is contained in:
Louis-Claude Canon 2012-07-03 09:50:19 +02:00 committed by Paul Beckingham
parent 7f1d8c3682
commit 1668aef66b
8 changed files with 9 additions and 7 deletions

View file

@ -88,7 +88,7 @@ int CmdAppend::execute (std::string& output)
++count;
feedback_affected (STRING_CMD_APPEND_TASK, *task);
if (context.verbose ("project"))
projectChanges[task->get ("project")] = onProjectChange (*task, true);
projectChanges[task->get ("project")] = onProjectChange (*task, false);
// Append to siblings.
if (task->has ("parent"))