From 5864247fc57171240043a20846ee90e0366c2a18 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Wed, 4 Jul 2018 22:43:20 +0300 Subject: [PATCH] [file-history] call refresher in invokeLater --- .../com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fb5b31758850..b4ffbf49d940 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 @@ -194,7 +194,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme lastTask = ourExecutor.submit(() -> { if (!updateAlarm.isDisposed() && myHistorySession.shouldBeRefreshed()) { - ApplicationManager.getApplication().invokeAndWait(() -> myRefresherI.refresh(true)); + ApplicationManager.getApplication().invokeLater(() -> myRefresherI.refresh(true)); } }); }