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:
@@ -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 != "" &&
|
||||
|
||||
Reference in New Issue
Block a user