mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task
- Marked areas where eval expansion is likey required.
This commit is contained in:
parent
a119b4c7c3
commit
261f86c134
1 changed files with 5 additions and 0 deletions
|
@ -2025,6 +2025,7 @@ void Task::modify (modType type)
|
||||||
set (name, v.get_date ());
|
set (name, v.get_date ());
|
||||||
++modCount;
|
++modCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special case: type duration.
|
// Special case: type duration.
|
||||||
// Durations too.
|
// Durations too.
|
||||||
else if (name == "recur" ||
|
else if (name == "recur" ||
|
||||||
|
@ -2068,6 +2069,8 @@ void Task::modify (modType type)
|
||||||
// Try to use modify method, otherwise just continue to the final option.
|
// Try to use modify method, otherwise just continue to the final option.
|
||||||
else if (column->can_modify ())
|
else if (column->can_modify ())
|
||||||
{
|
{
|
||||||
|
// TODO May require Eval expansion.
|
||||||
|
|
||||||
// column->modify () contains the logic for the specific column
|
// column->modify () contains the logic for the specific column
|
||||||
// and returns the appropriate value for (*this).set ()
|
// and returns the appropriate value for (*this).set ()
|
||||||
if (column->validate (value))
|
if (column->validate (value))
|
||||||
|
@ -2082,6 +2085,8 @@ void Task::modify (modType type)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// TODO May require Eval expansion.
|
||||||
|
|
||||||
// Final default action
|
// Final default action
|
||||||
if (column->validate (value))
|
if (column->validate (value))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue