ItEr28S15CUVisualizacionModelosPlanificacionItEr21S08: TaskComponent is now not responsible of erasing the associated dependency components

This commit is contained in:
Óscar González Fernández 2009-09-30 23:26:32 +02:00
parent 7379f4fe33
commit 20964a44f8
2 changed files with 1 additions and 1 deletions

View file

@ -181,6 +181,7 @@ public class Planner extends XulElement {
void removeTask(Task task) {
TaskList taskList = getTaskList();
taskList.remove(task);
getDependencyList().taskRemoved(task);
leftPane.taskRemoved(task);
setHeight(getHeight());// forcing smart update
taskList.adjustZoomColumnsHeight();

View file

@ -315,7 +315,6 @@ public class TaskComponent extends Div implements AfterCompose {
}
protected void remove() {
getDependencyList().taskRemoved(this.getTask());
this.detach();
}