mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user