Bug Fix - add with no status

- Tasks were not assigned a default status of Task::pending when added.
This commit is contained in:
Paul Beckingham 2009-06-11 00:46:04 -04:00
parent d961dfda59
commit d4a9a387af

View file

@ -58,6 +58,8 @@ std::string handleAdd ()
context.task.setStatus (Task::recurring);
context.task.set ("mask", "");
}
else
context.task.setStatus (Task::pending);
// Override with default.project, if not specified.
if (context.task.get ("project") == "")