Remove references to the 'depends' property outside of Task.cpp
With the exception of `taskDifferences` and `taskInfoDifferences`, deferred to #2572.
This commit is contained in:
committed by
Tomas Babej
parent
9e67f4f946
commit
413b8d22b7
@@ -667,7 +667,8 @@ void CmdEdit::parseTask (Task& task, const std::string& after, const std::string
|
||||
value = findValue (after, "\n Dependencies:");
|
||||
auto dependencies = split (value, ',');
|
||||
|
||||
task.remove ("depends");
|
||||
for (auto& dep : task.getDependencyUUIDs ())
|
||||
task.removeDependency (dep);
|
||||
for (auto& dep : dependencies)
|
||||
{
|
||||
if (dep.length () >= 7)
|
||||
|
||||
Reference in New Issue
Block a user