Task: Added reminder to simplify validation

This commit is contained in:
Paul Beckingham 2017-04-10 17:23:11 -04:00
parent 3bf1c50131
commit 0e599a51a0

View file

@ -1519,6 +1519,16 @@ void Task::validate (bool applyDefault /* = true */)
{
status = Task::recurring;
}
/*
// TODO Add for 2.6.0
if (status == Task::pending &&
has ("due") &&
has ("recur") &&
(! has ("template") || get ("template") == ""))
{
status = Task::recurring;
}
*/
// Tasks with a wait: date get a special status.
else if (status == Task::pending &&