Bug #595
- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user