Bug #1329: Update advanced allocation row after applying default stretches function

With this patch the bug is even clearer. If you have a task of 3 days with 8h
per day, and you choose stretches function you will see that the task is
enlarged to 4 days with 6h per day.

FEA: ItEr76S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-01-11 11:43:26 +01:00
parent 99f103b5b7
commit 6950f4d1db

View file

@ -95,6 +95,7 @@ public abstract class StrechesFunctionConfiguration implements
@Override
public void applyOn(ResourceAllocation<?> resourceAllocation) {
resourceAllocation.setAssignmentFunctionAndApplyIfNotFlat(StretchesFunction.create());
assignmentFunctionChanged();
}
@Override