[Bug #1309] Fix problem with reported hours bar when progress type is changed

FEA: ItEr75S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-12-29 10:06:18 +01:00
parent 395d6a2f5e
commit 4beea48158
2 changed files with 2 additions and 1 deletions

View file

@ -483,7 +483,7 @@ public class TaskComponent extends Div implements AfterCompose {
updateCompletionAdvance();
}
private void updateCompletionReportedHours() {
public void updateCompletionReportedHours() {
if (task.isShowingReportedHours()) {
int startPixels = this.task.getBeginDate().toPixels(getMapper());
String widthHoursAdvancePercentage = pixelsFromStartUntil(

View file

@ -97,6 +97,7 @@ public class TaskList extends XulElement implements AfterCompose {
public void updateCompletion(String progressType) {
for (TaskComponent task: getTaskComponents()) {
task.updateCompletion(progressType);
task.updateCompletionReportedHours();
task.updateTooltipText(progressType);
}
}