diff --git a/indra/llui/lltextbox.h b/indra/llui/lltextbox.h index 68bc7695de932ed62e92c90a334e5acfac72343c..2a39b6d7f1841f21deea4c8a90850be4d5d23ce7 100644 --- a/indra/llui/lltextbox.h +++ b/indra/llui/lltextbox.h @@ -79,6 +79,12 @@ class LLTextBox : LLUIString mText; callback_t mClickedCallback; bool mShowCursorHand; + +protected: + virtual std::string _getSearchText() const + { + return LLTextBase::_getSearchText() + mText.getString(); + } }; // Build time optimization, generate once in .cpp file diff --git a/indra/newview/skins/default/xui/en/panel_preferences_interface.xml b/indra/newview/skins/default/xui/en/panel_preferences_interface.xml index 536fac975453bcf8bb223ed14cd1a4ec8d3c23f6..eb7efe239b4b899123d05b90e57b25c67a608e4b 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_interface.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_interface.xml @@ -232,4 +232,28 @@ value="3" width="90" /> </radio_group> + <text + type="string" + length="1" + follows="left|top" + height="10" + layout="topleft" + left="30" + name="World Effects" + mouse_opaque="false" + top_pad="5" + width="300"> + World Effects: + </text> + <check_box + follows="left|top" + height="16" + label="Create particle effects when scripts communicate" + layout="topleft" + tool_tip="If enabled scripted objects display swirling particle lights when the scripts communicate" + left="45" + top_pad="7" + name="EffectScriptChatParticles" + width="275" + control_name="EffectScriptChatParticles"/> </panel>