mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
Use editable copy of sdk instead of sdk modificator (PY-39477)
SdkModificator is not well supported in PythonSdkUpdater and editable copy could play its role instead. The consequence is that changes are applied only after OK is clicked in `Show All` dialog. Previously it could be came over by creating sdk modificator for original sdk. GitOrigin-RevId: 5415eb3bb6c971342b1c1ff576c44bc4571d0bde
This commit is contained in:
committed by
intellij-monorepo-bot
parent
62cb5e5754
commit
9109ab3521
@@ -22,7 +22,7 @@ public class PythonSdkComboBox extends ComboboxWithBrowseButton {
|
||||
private Project myProject;
|
||||
|
||||
public PythonSdkComboBox() {
|
||||
getComboBox().setRenderer(new PySdkListCellRenderer(null));
|
||||
getComboBox().setRenderer(new PySdkListCellRenderer());
|
||||
addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
|
||||
@@ -79,7 +79,7 @@ public class PythonPluginCommandLineInspectionProjectConfigurator implements Com
|
||||
ProjectJdkTable.getInstance().addJdk(sdk);
|
||||
});
|
||||
|
||||
PythonSdkUpdater.updateVersionAndPathsSynchronouslyAndScheduleRemaining(sdk, null, null);
|
||||
PythonSdkUpdater.updateVersionAndPathsSynchronouslyAndScheduleRemaining(sdk, null);
|
||||
}
|
||||
else {
|
||||
logger.reportMessage(1, "ERROR: Can't find Python interpreter");
|
||||
|
||||
Reference in New Issue
Block a user