mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI2: Removed unused tag MODIFIABLE
This commit is contained in:
parent
0cfa873776
commit
c8fd51bd27
1 changed files with 2 additions and 12 deletions
14
src/CLI2.cpp
14
src/CLI2.cpp
|
@ -1510,18 +1510,8 @@ void CLI2::decomposeModAttributes ()
|
||||||
a.attribute ("value", value);
|
a.attribute ("value", value);
|
||||||
|
|
||||||
std::string canonical;
|
std::string canonical;
|
||||||
if (canonicalize (canonical, "attribute", name))
|
if (canonicalize (canonical, "attribute", name) ||
|
||||||
{
|
canonicalize (canonical, "uda", name))
|
||||||
a.attribute ("canonical", canonical);
|
|
||||||
|
|
||||||
auto col = context.columns.find (canonical);
|
|
||||||
if (col != context.columns.end () &&
|
|
||||||
col->second->modifiable ())
|
|
||||||
{
|
|
||||||
a.tag ("MODIFIABLE");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (canonicalize (canonical, "uda", name))
|
|
||||||
{
|
{
|
||||||
a.attribute ("canonical", canonical);
|
a.attribute ("canonical", canonical);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue