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
@@ -48,7 +48,7 @@ public class PyManagePackagesDialog extends DialogWrapper {
List<Sdk> sdks = PythonSdkType.getAllSdks();
Collections.sort(sdks, new PreferredSdkComparator());
final JComboBox sdkComboBox = new JComboBox(new CollectionComboBoxModel(sdks, sdk));
sdkComboBox.setRenderer(new PySdkListCellRenderer());
sdkComboBox.setRenderer(new PySdkListCellRenderer(null));
PackagesNotificationPanel notificationPanel = new PackagesNotificationPanel();
final PyInstalledPackagesPanel packagesPanel = new PyInstalledPackagesPanel(project, notificationPanel);