diff options
author | Kitty Barnett <develop@catznip.com> | 2012-02-09 22:02:32 +0100 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-02-09 22:02:32 +0100 |
commit | e615660823e680e824d2db0f1a59917597e64a13 (patch) | |
tree | 2fa3f0dda243312b4b0b9f0871f1848dfb49d2a4 /indra/newview | |
parent | 9c792e337695b904e4f52fce83b293a2e97fdeaf (diff) |
STORM-276 Differentiate between primary and secondary dictionaries
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llfloaterpreference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index c41488ce91..c444d2bb6f 100755 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -997,7 +997,7 @@ void LLFloaterPreference::refreshDictLists(bool from_settings) for (LLSD::array_const_iterator dict_it = dict_map.beginArray(); dict_it != dict_map.endArray(); ++dict_it) { const LLSD& dict = *dict_it; - if ( (dict["installed"].asBoolean()) && (dict.has("language")) ) + if ( (dict["installed"].asBoolean()) && (dict["is_primary"].asBoolean()) && (dict.has("language")) ) dict_combo->add(dict["language"].asString()); } if (!dict_combo->selectByValue(dict_cur)) |