Fix unshifted Schedules
This commit is contained in:
parent
f080c6db52
commit
63418cb99a
@ -73,6 +73,8 @@ public class Task {
|
|||||||
for(AbstractSchedule abstractSchedule : this.basicTaskSchedules) {
|
for(AbstractSchedule abstractSchedule : this.basicTaskSchedules) {
|
||||||
AbstractSchedule clonedSchedule = abstractSchedule.cloneSchedule();
|
AbstractSchedule clonedSchedule = abstractSchedule.cloneSchedule();
|
||||||
clonedSchedules.add(clonedSchedule);
|
clonedSchedules.add(clonedSchedule);
|
||||||
|
clonedTask.getBasicTaskSchedules().clear();
|
||||||
|
clonedTask.getBasicTaskSchedules().add(clonedSchedule);
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<Task> clonedSubtasks = new HashSet<>();
|
Set<Task> clonedSubtasks = new HashSet<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user