properly save custom JRE path specified in run configuration

This commit is contained in:
nik
2015-10-01 15:17:08 +03:00
parent 8c25b6e12a
commit 21765470ac
@@ -145,7 +145,7 @@ public class JrePathEditor extends JPanel implements PanelWithAnchor {
}
private JreComboBoxItem getSelectedJre() {
return (JreComboBoxItem)myPathField.getComboBox().getSelectedItem();
return (JreComboBoxItem)myPathField.getComboBox().getEditor().getItem();
}
public void setDefaultJreSelector(DefaultJreSelector defaultJreSelector) {