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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user