mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-94350 Create from template: remember last selected project sdk for a template
This commit is contained in:
@@ -64,7 +64,9 @@ public class SdkSettingsStep extends ModuleWizardStep {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Sdk jdk = myJdkComboBox.getSelectedJdk();
|
||||
component.setValue(selectedJdkProperty, jdk == null ? "" : jdk.getName());
|
||||
if (jdk != null) {
|
||||
component.setValue(selectedJdkProperty, jdk.getName());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user