diff --git a/editor/ui/dialogs/content/EdDictionary.js b/editor/ui/dialogs/content/EdDictionary.js index 6fcd40d272fd..dd3b37b56542 100644 --- a/editor/ui/dialogs/content/EdDictionary.js +++ b/editor/ui/dialogs/content/EdDictionary.js @@ -185,8 +185,7 @@ dump("ResetSelectedItem to index="+index+"\n"); function Close() { - // Shutdown the spell check and close the dialog - spellChecker.UninitSpellChecker(); + // Close the dialog SaveWindowLocation(); window.close(); }