mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs] IDEA-117394 set empty text to "loading..." only if in refresh
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user