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 dd8c403d9d6e..bdf630fc1075 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 @@ -578,9 +578,12 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton { if ((virtualFile == null || !virtualFile.isValid()) && !myFilePath.getIOFile().exists()) { setEmptyText("File " + myFilePath.getName() + " not found"); } - else { + else if (myInRefresh) { setEmptyText(CommonBundle.getLoadingTreeNodeText()); } + else { + setEmptyText(StatusText.DEFAULT_EMPTY_TEXT); + } } private void setEmptyText(@NotNull String emptyText) {