From 0897cf03c8c90a7c087a1ff32ba99170a2ad0fa4 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Tue, 24 Apr 2018 21:10:26 +0300 Subject: [PATCH] [file-history] revalidate and repaint splitter after new data arrival --- .../intellij/openapi/vcs/history/FileHistoryPanelImpl.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java index c9fbeb8b2127..247679360367 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java @@ -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); }); }