IDEA-169363 Internal error on stating RubyMine EAP

This commit is contained in:
Vladimir Krivosheev
2017-03-09 17:44:56 +01:00
parent 9104cbac0a
commit 934b9d0668
@@ -303,7 +303,7 @@ class UISettings : BaseState(), PersistentStateComponent<UISettings> {
val shadowInstance: UISettings
get() {
val app = ApplicationManager.getApplication()
return (if (app == null) null else instance) ?: UISettings().withDefFont()
return (if (app == null) null else instanceOrNull) ?: UISettings().withDefFont()
}
private val systemFontFaceAndSize: Pair<String, Int>