- Fixed bug #595, where taskwarrior ignored changes to the wait date during
  the edit command, consequently not changing task status (thanks to Eric
  Fluger).
This commit is contained in:
Paul Beckingham
2010-12-31 00:33:43 -05:00
parent 1b66904550
commit 57d577a140
3 changed files with 8 additions and 1 deletions

View File

@@ -427,12 +427,14 @@ static void parseTask (Task& task, const std::string& after)
{
std::cout << "Wait date modified.\n";
task.set ("wait", value);
task.setStatus (Task::waiting);
}
}
else
{
std::cout << "Wait date modified.\n";
task.set ("wait", value);
task.setStatus (Task::waiting);
}
}
else
@@ -441,6 +443,7 @@ static void parseTask (Task& task, const std::string& after)
{
std::cout << "Wait date removed.\n";
task.remove ("wait");
task.setStatus (Task::pending);
}
}