KT-12893: when opening Kotlin compiler settings while kotlinc.xml does not specify which module kind to use, fallback to default value ("plain").
Fix #KT-12893
This commit is contained in:
+5
-1
@@ -196,7 +196,11 @@ public class KotlinCompilerConfigurableTab implements SearchableConfigurable, Co
|
||||
outputPrefixFile.setText(k2jsCompilerArguments.outputPrefix);
|
||||
outputPostfixFile.setText(k2jsCompilerArguments.outputPostfix);
|
||||
|
||||
moduleKindComboBox.setSelectedItem(k2jsCompilerArguments.moduleKind);
|
||||
String moduleKind = k2jsCompilerArguments.moduleKind;
|
||||
if (moduleKind == null) {
|
||||
moduleKind = K2JsArgumentConstants.MODULE_PLAIN;
|
||||
}
|
||||
moduleKindComboBox.setSelectedItem(moduleKind);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user