Kotlin Facet: Update multi-editor tabs using project-level settings

This commit is contained in:
Alexey Sedunov
2017-03-29 23:27:57 +03:00
parent b04cbf537f
commit 270168f50f
@@ -61,5 +61,8 @@ class MultipleKotlinFacetEditor(
override fun disposeUIResources() {
helper.unbind()
// Reset tabs with selected "Use project settings" after switching off the multi-editor mode.
// Their settings might have changed to non-project one due to UI control binding
editors.map { it.tabEditor }.filter { it.useProjectSettingsCheckBox.isSelected }.forEach { it.updateCompilerConfigurable() }
}
}