PY-22324 Converted PySdkListCellRenderer to Kotlin

This commit is contained in:
Andrey Vlasovskikh
2017-10-10 05:49:49 +03:00
parent 68adc51481
commit e29a464d4a
9 changed files with 83 additions and 103 deletions
@@ -219,7 +219,7 @@ public class PyStudyDirectoryProjectGenerator extends PythonProjectGenerator<PyN
}
private static void patchRenderer(@NotNull ProjectJdkImpl fakeSdk, @NotNull PythonSdkChooserCombo combo) {
combo.getComboBox().setRenderer(new PySdkListCellRenderer() {
combo.getComboBox().setRenderer(new PySdkListCellRenderer(null) {
@Override
public void customize(JList list, Object item, int index, boolean selected, boolean hasFocus) {
super.customize(list, item, index, selected, hasFocus);