mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task: 'wait:' bug fix
- When 'wait:' is specified, it no longer sets 'status:waiting' because there is no value. Thanks to Daniel Shahaf.
This commit is contained in:
parent
54fecafcec
commit
d640fed3d4
1 changed files with 2 additions and 1 deletions
|
@ -1427,7 +1427,8 @@ void Task::validate (bool applyDefault /* = true */)
|
|||
|
||||
// Tasks with a wait: date get a special status.
|
||||
else if (status == Task::pending &&
|
||||
has ("wait"))
|
||||
has ("wait") &&
|
||||
get ("wait") != "")
|
||||
status = Task::waiting;
|
||||
|
||||
// By default, tasks are pending.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue