ItEr50S04ValidacionEProbasFuncionaisItEr49S04: When removing a task from the task list it's removed from the original tasks
This commit is contained in:
parent
d64ef27ee6
commit
64fa18a5c5
1 changed files with 1 additions and 0 deletions
|
|
@ -327,6 +327,7 @@ public class TaskList extends XulElement implements AfterCompose {
|
|||
}
|
||||
|
||||
public void remove(Task task) {
|
||||
originalTasks.remove(task);
|
||||
for (TaskComponent taskComponent : getTaskComponents()) {
|
||||
if (taskComponent.getTask().equals(task)) {
|
||||
taskComponent.remove();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue