diff options
author | Oz Linden <oz@lindenlab.com> | 2012-05-31 14:26:15 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-05-31 14:26:15 -0400 |
commit | 925db41711bc319e870aa35f74b58f4e7a74420c (patch) | |
tree | 69bac61403e5e432c073fb3e7ea29b6c3107a142 /indra/newview/llfloaterpreference.cpp | |
parent | f09bd7669fcf976edf82c3ce70b26ea044019c67 (diff) | |
parent | 5cad51594dc583c63bf88376feedb0b170868d3d (diff) |
merge changes for storm-276
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rwxr-xr-x | indra/newview/llfloaterpreference.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 2c383f09ba..e00184be23 100755 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -347,6 +347,7 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key) mCommitCallbackRegistrar.add("Pref.Proxy", boost::bind(&LLFloaterPreference::onClickProxySettings, this)); mCommitCallbackRegistrar.add("Pref.TranslationSettings", boost::bind(&LLFloaterPreference::onClickTranslationSettings, this)); mCommitCallbackRegistrar.add("Pref.AutoReplace", boost::bind(&LLFloaterPreference::onClickAutoReplace, this)); + mCommitCallbackRegistrar.add("Pref.SpellChecker", boost::bind(&LLFloaterPreference::onClickSpellChecker, this)); sSkin = gSavedSettings.getString("SkinCurrent"); @@ -935,7 +936,6 @@ void LLFloaterPreference::refreshSkin(void* data) self->getChild<LLRadioGroup>("skin_selection", true)->setValue(sSkin); } - void LLFloaterPreference::buildPopupLists() { LLScrollListCtrl& disabled_popups = @@ -1524,6 +1524,11 @@ void LLFloaterPreference::onClickAutoReplace() LLFloaterReg::showInstance("prefs_autoreplace"); } +void LLFloaterPreference::onClickSpellChecker() +{ + LLFloaterReg::showInstance("prefs_spellchecker"); +} + void LLFloaterPreference::onClickActionChange() { mClickActionDirty = true; |