Enable again resource allocation inputs for any assignment function

This reverts changes done in commit 0053c5e5d2

FEA: ItEr75S23FixAllocationModel
This commit is contained in:
Manuel Rego Casasnovas 2011-09-01 08:22:29 +02:00
parent 5a85e0478d
commit e71b057c0d

View file

@ -504,13 +504,11 @@ public abstract class AllocationRow {
this.currentCalculatedValue = calculatedValue;
effortInput
.setDisabled(calculatedValue != CalculatedValue.RESOURCES_PER_DAY
|| recommendedAllocation
|| isAssignmentFunctionNotFlat());
|| recommendedAllocation);
effortInput.setConstraint(constraintForHoursInput());
intendedResourcesPerDayInput
.setDisabled(calculatedValue == CalculatedValue.RESOURCES_PER_DAY
|| recommendedAllocation
|| isAssignmentFunctionNotFlat());
|| recommendedAllocation);
if (intendedResourcesPerDayInput.isDisabled()) {
clearRealResourcesPerDay();
}