[Bug #914] reset the class of the icon of expanded tree.

FEA : ItEr72S04BugFixing
This commit is contained in:
Susana Montes Pedreira 2011-03-16 09:03:36 +01:00
parent fecfa19556
commit 7f46b93caf

View file

@ -332,6 +332,10 @@ public class OrderElementTreeController extends TreeController<OrderElement> {
// Is already added?
Button button = (Button) ComponentsFinder.findById("expandAllButton", children);
if (button != null) {
if (button.getSclass().equals("planner-command clicked")) {
button.setSclass("planner-command");
button.invalidate();
}
return;
}