IDEA-144395 Unable to Save Settings (fast fix, the reason is not clear)

This commit is contained in:
Vladimir Krivosheev
2015-08-26 17:43:37 +02:00
parent e615022781
commit f08230b22a
@@ -518,7 +518,7 @@ public class SchemeManagerImpl<T : Scheme, E : ExternalizableScheme>(private val
// save only if scheme differs from bundled
val bundledScheme = readOnlyExternalizableSchemes.get(scheme.getName())
if (bundledScheme != null && schemeToInfo.get(bundledScheme)!!.hash == newHash) {
if (bundledScheme != null && schemeToInfo.get(bundledScheme)?.hash == newHash) {
externalInfo?.scheduleDelete()
return
}