mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
Task: Added reminder to simplify validation
This commit is contained in:
parent
3bf1c50131
commit
0e599a51a0
1 changed files with 10 additions and 0 deletions
10
src/Task.cpp
10
src/Task.cpp
|
@ -1519,6 +1519,16 @@ void Task::validate (bool applyDefault /* = true */)
|
||||||
{
|
{
|
||||||
status = Task::recurring;
|
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.
|
// Tasks with a wait: date get a special status.
|
||||||
else if (status == Task::pending &&
|
else if (status == Task::pending &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue