[vcs] IDEA-100630 UpdateInfoTree: reload the model on rebuild

Otherwise existing nodes are not revalidated, and the size allocated to the renderer is not recalculated.
This commit is contained in:
Kirill Likhodedov
2013-02-07 16:08:00 +04:00
parent 046658c4c5
commit 511f68eafd
@@ -229,6 +229,9 @@ public class UpdateInfoTree extends PanelWithActionsAndCloseButton implements Di
private void updateTreeModel() {
myRoot.rebuild(VcsConfiguration.getInstance(myProject).UPDATE_GROUP_BY_PACKAGES, getScopeFilter(), myShowOnlyFilteredItems);
if (myTreeModel != null) {
myTreeModel.reload();
}
}
public Object getData(String dataId) {