- Marked areas where eval expansion is likey required.
This commit is contained in:
Paul Beckingham 2014-05-26 20:55:37 -04:00
parent a119b4c7c3
commit 261f86c134

View file

@ -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))
{ {