mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #434 - Task shouldn't prevent users from marking as done tasks with status:waiting
- Users can now complete tasks with status:waiting in addition to status:pending
This commit is contained in:
parent
d6a2c1872c
commit
6864ff91cd
2 changed files with 3 additions and 2 deletions
|
@ -1321,7 +1321,7 @@ int handleDone (std::string &outs)
|
|||
bool nagged = false;
|
||||
foreach (task, tasks)
|
||||
{
|
||||
if (task->getStatus () == Task::pending)
|
||||
if ((task->getStatus () == Task::pending) || (task->getStatus () == Task::waiting))
|
||||
{
|
||||
Task before (*task);
|
||||
|
||||
|
@ -1374,7 +1374,7 @@ int handleDone (std::string &outs)
|
|||
<< task->id
|
||||
<< " '"
|
||||
<< task->get ("description")
|
||||
<< "' is not pending."
|
||||
<< "' is neither pending nor waiting."
|
||||
<< std::endl;
|
||||
rc = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue