mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-1279: default.* applies to recurring tasks
- Recurring tasks inherit attributes from their parent. default.* is no longer applied to them.
This commit is contained in:
parent
2eea7805c6
commit
c1815b8277
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
2.4.3 () -
|
2.4.3 () -
|
||||||
|
|
||||||
|
- TW-1279 Make default.* not apply to recurring tasks.
|
||||||
- TW-1578 Bash tab completion problems on first run
|
- TW-1578 Bash tab completion problems on first run
|
||||||
(thanks to Renato Alves and Ptolemarch).
|
(thanks to Renato Alves and Ptolemarch).
|
||||||
- TW-1580 "modified" attribute no longer updated (thanks to David Patrick).
|
- TW-1580 "modified" attribute no longer updated (thanks to David Patrick).
|
||||||
|
|
|
@ -1384,7 +1384,7 @@ void Task::validate (bool applyDefault /* = true */)
|
||||||
if (!has ("modified") || get ("modified") == "")
|
if (!has ("modified") || get ("modified") == "")
|
||||||
setAsNow ("modified");
|
setAsNow ("modified");
|
||||||
|
|
||||||
if (applyDefault)
|
if (applyDefault && (! has ("parent") || get ("parent") == ""))
|
||||||
{
|
{
|
||||||
// Override with default.project, if not specified.
|
// Override with default.project, if not specified.
|
||||||
if (Task::defaultProject != "" &&
|
if (Task::defaultProject != "" &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue