[file-history] revalidate and repaint splitter after new data arrival

This commit is contained in:
Julia Beliaeva
2018-07-09 17:35:13 +03:00
parent bb75d85a6a
commit 0897cf03c8
@@ -277,7 +277,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
if (myTargetSelection == null) {
myTargetSelection = myDualView.getFlatView().getSelectedObjects();
}
myHistorySession = session;
refreshRevisionsOrder();
HistoryAsTreeProvider treeHistoryProvider = session.getHistoryAsTreeProvider();
@@ -296,6 +296,8 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
myTargetSelection);
}
mySplitter.revalidate();
mySplitter.repaint();
myDualView.expandAll();
myDualView.repaint();
}
@@ -433,9 +435,6 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
if (myInRefresh) return;
myInRefresh = true;
mySplitter.revalidate();
mySplitter.repaint();
myRefresherI.refresh(canUseCache);
});
}