[Bug #1309] Invalidate each TaskComponent instead of the whole TaskList when progress type is changed
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
eb486c14c2
commit
fec675b657
2 changed files with 4 additions and 2 deletions
|
|
@ -877,7 +877,9 @@ public class Planner extends HtmlMacroComponent {
|
|||
if (taskList != null) {
|
||||
taskList.updateCompletion(progressType);
|
||||
// FIXME Bug #1270
|
||||
taskList.invalidate();
|
||||
for (TaskComponent each : taskList.getTaskComponents()) {
|
||||
each.invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ public class TaskList extends XulElement implements AfterCompose {
|
|||
return getTimeTrackerComponent().getTimeTracker();
|
||||
}
|
||||
|
||||
private List<TaskComponent> getTaskComponents() {
|
||||
protected List<TaskComponent> getTaskComponents() {
|
||||
ArrayList<TaskComponent> result = new ArrayList<TaskComponent>();
|
||||
for (Object child : getChildren()) {
|
||||
if (child instanceof TaskRow) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue