diff --git a/src/TDB.cpp b/src/TDB.cpp index d6a39f16d..8ddfbcf62 100644 --- a/src/TDB.cpp +++ b/src/TDB.cpp @@ -297,7 +297,7 @@ int TDB::loadCompleted (std::vector & tasks, Filter& filter) line[length - 1] = '\0'; Task task (line); - // Note: no id is set for completed tasks. + task.id = 0; // Need a value, just not a valid value. if (filter.pass (task)) tasks.push_back (task);