From 5d7c5ea4d22d1d313a2c531f1f05be94e07a8036 Mon Sep 17 00:00:00 2001
From: Mnikolenko Productengine <mnikolenko@productengine.com>
Date: Wed, 18 Jan 2017 12:20:55 +0200
Subject: [PATCH] MAINT-7059 [contribution] Import of custom spellcheck
 dictionary fails silently

---
 doc/contributions.txt       | 1 +
 indra/llui/llspellcheck.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/doc/contributions.txt b/doc/contributions.txt
index 46286f99c1..0fb6110adb 100755
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -213,6 +213,7 @@ Ansariel Hiller
 	STORM-2141
 	MAINT-6953
 	MAINT-7028
+	MAINT-7059
 Aralara Rajal
 Arare Chantilly
 	CHUIBUG-191
diff --git a/indra/llui/llspellcheck.cpp b/indra/llui/llspellcheck.cpp
index 0db4281059..5a52600337 100644
--- a/indra/llui/llspellcheck.cpp
+++ b/indra/llui/llspellcheck.cpp
@@ -161,6 +161,7 @@ void LLSpellChecker::refreshDictionaryMap()
 	}
 
 	// Load user installed dictionary information
+	user_filename = user_path + DICT_FILE_USER;
 	llifstream custom_file(user_filename.c_str(), std::ios::binary);
 	if (custom_file.is_open())
 	{
-- 
GitLab