mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Null icon fixed
This commit is contained in:
@@ -53,7 +53,7 @@ public abstract class PsiTreeElementBase implements StructureViewTreeElement, It
|
||||
|
||||
public Icon getIcon(boolean open) {
|
||||
final PsiElement element = getElement();
|
||||
if (element == null) {
|
||||
if (element != null) {
|
||||
return element.getIcon(Iconable.ICON_FLAG_VISIBILITY | Iconable.ICON_FLAG_READ_STATUS);
|
||||
} else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user