mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task
- Modification diagnostics were missing for 'recur' attribute.
This commit is contained in:
parent
dc1e01b1c2
commit
85518c646f
1 changed files with 2 additions and 0 deletions
|
@ -2009,6 +2009,7 @@ void Task::modify (modType type, bool text_required /* = false */)
|
|||
}
|
||||
|
||||
// Special case: type duration.
|
||||
// Note: "recur" is marked as type "string" to force storage in raw form.
|
||||
else if (name == "recur" ||
|
||||
column->type () == "duration")
|
||||
{
|
||||
|
@ -2025,6 +2026,7 @@ void Task::modify (modType type, bool text_required /* = false */)
|
|||
if (v.type () == Variant::type_duration)
|
||||
{
|
||||
// Store the raw value, for 'recur'.
|
||||
context.debug (label + name + " <-- '" + value + "'");
|
||||
set (name, value);
|
||||
++modCount;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue