mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-32676 (NPE)
This commit is contained in:
+3
-1
@@ -105,7 +105,9 @@ public class InitialConfigurationDialog extends DialogWrapper {
|
||||
myColorSchemeComboBox.setRenderer(new ListCellRendererWrapper(myColorSchemeComboBox.getRenderer()) {
|
||||
@Override
|
||||
public void customize(JList list, Object value, int index, boolean selected, boolean cellHasFocus) {
|
||||
setText(((EditorColorsScheme)value).getName());
|
||||
if (value != null) {
|
||||
setText(((EditorColorsScheme)value).getName());
|
||||
}
|
||||
}
|
||||
});
|
||||
myColorSchemeComboBox.addActionListener(new ActionListener() {
|
||||
|
||||
Reference in New Issue
Block a user