EA-26929 - IAE: PsiBundle.visibilityPresentation

This commit is contained in:
anna
2011-04-14 21:12:03 +02:00
parent e3bea1a2c8
commit 39e2c8eeeb
@@ -212,6 +212,7 @@ public class InplaceIntroduceConstantPopup {
visibilityCombo.setRenderer(new ListCellRendererWrapper<String>(visibilityCombo.getRenderer()) {
@Override
public void customize(JList list, String value, int index, boolean selected, boolean hasFocus) {
if (value == null) return;
setText(PsiBundle.visibilityPresentation(value));
}
});