mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +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
|
|
@ -1384,7 +1384,7 @@ void Task::validate (bool applyDefault /* = true */)
|
|||
if (!has ("modified") || get ("modified") == "")
|
||||
setAsNow ("modified");
|
||||
|
||||
if (applyDefault)
|
||||
if (applyDefault && (! has ("parent") || get ("parent") == ""))
|
||||
{
|
||||
// Override with default.project, if not specified.
|
||||
if (Task::defaultProject != "" &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue