ItEr18S09CUCreacionProxectoPlanificacionItEr17S10: When removing a task from the GanttDiagramGraph it also removes its children if it has some.

This commit is contained in:
Óscar González Fernández 2009-07-28 20:17:49 +02:00 committed by Javier Moran Rua
parent f98f5a6272
commit 73a37d7e81

View file

@ -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) {