From 8968d8475ddd3e95f910dca5f8964aee5c52c334 Mon Sep 17 00:00:00 2001 From: Denis Mukhametianov Date: Tue, 23 Jan 2024 09:32:43 +0100 Subject: [PATCH] [rider] application dictionary can be not initialized during spellchecker settings transfer activity GitOrigin-RevId: de04fe6c970f8fe9511e69367750710c317ee9ac --- spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt b/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt index 54e7dde9669d..4b9d8fbcb289 100644 --- a/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt +++ b/spellchecker/src/com/intellij/spellchecker/DictionaryLevel.kt @@ -90,5 +90,5 @@ class ApplicationDictionaryLayer : DictionaryLayer { } override val name = Companion.name - override val dictionary: EditableDictionary = AppDictionaryState.getInstance().dictionary + override val dictionary: EditableDictionary by lazy { AppDictionaryState.getInstance().dictionary } } \ No newline at end of file