mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task: Make sure tag and dependency attributes are not identified as orphan UDAs
This commit is contained in:
parent
309e99d49e
commit
2bd0d8ebd3
1 changed files with 2 additions and 2 deletions
|
@ -1542,8 +1542,8 @@ std::vector <std::string> Task::getUDAOrphanUUIDs () const
|
|||
{
|
||||
std::vector <std::string> orphans;
|
||||
for (auto& it : data)
|
||||
if (it.first.compare (0, 11, "annotation_", 11) != 0)
|
||||
if (Context::getContext ().columns.find (it.first) == Context::getContext ().columns.end ())
|
||||
if (Context::getContext ().columns.find (it.first) == Context::getContext ().columns.end ())
|
||||
if (not (isAnnotationAttr (it.first) || isTagAttr (it.first) || isDepAttr (it.first)))
|
||||
orphans.push_back (it.first);
|
||||
|
||||
return orphans;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue