Bug 449 - Inconsistent wait: attribute results

- Fixed bug #449, so the wait: attribute can be applied to a task at any
  time, not just on add.
- While searching for problems with the waiting status, noticed that
  importCSV doesn't appear to set any tasks to pending status.
This commit is contained in:
Paul Beckingham
2010-07-28 23:22:59 -04:00
parent 4d266412ee
commit 2ef30b1183
4 changed files with 30 additions and 6 deletions

View File

@@ -1075,6 +1075,7 @@ static std::string importCSV (const std::vector <std::string>& lines)
{
std::string value = lowerCase (unquoteText (trim (fields[f])));
// TODO What happened to "pending"?
if (value == "recurring") task.setStatus (Task::recurring);
else if (value == "deleted") task.setStatus (Task::deleted);
else if (value == "completed") task.setStatus (Task::completed);