mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FinderRecursivePanel: handle EA-70298 - INRE: FileBasedIndexImpl.handleDumbMode
This commit is contained in:
@@ -23,6 +23,7 @@ import com.intellij.openapi.actionSystem.*;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.ide.CopyPasteManager;
|
||||
import com.intellij.openapi.project.DumbService;
|
||||
import com.intellij.openapi.project.IndexNotReadyException;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Computable;
|
||||
import com.intellij.openapi.util.Disposer;
|
||||
@@ -353,7 +354,12 @@ public abstract class FinderRecursivePanel<T> extends JBSplitter implements Data
|
||||
//noinspection unchecked
|
||||
final T t = (T)value;
|
||||
setIcon(getItemIcon(t));
|
||||
append(getItemText(t));
|
||||
try {
|
||||
append(getItemText(t));
|
||||
}
|
||||
catch (IndexNotReadyException e) {
|
||||
append("loading...");
|
||||
}
|
||||
|
||||
doCustomizeCellRenderer(this, list, t, index, isSelected, cellHasFocus);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user