ItEr18S09CUCreacionProxectoPlanificacionItEr17S10: When removing a task from the GanttDiagramGraph it also removes its children if it has some.
This commit is contained in:
parent
f98f5a6272
commit
73a37d7e81
1 changed files with 5 additions and 0 deletions
|
|
@ -163,6 +163,11 @@ public class GanttDiagramGraph {
|
|||
rulesEnforcersByTask.remove(task);
|
||||
topLevelTasks.remove(task);
|
||||
update(outgoing);
|
||||
if (task.isContainer()) {
|
||||
for (Task t : task.getTasks()) {
|
||||
remove(t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void updateOutgoing(Task task) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue