summaryrefslogtreecommitdiff
path: root/indra/newview/llsearchcombobox.cpp
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2010-02-11 19:56:56 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2010-02-11 19:56:56 +0200
commit7ac90e2a08b12a28dcd4eda5767902f0e5556818 (patch)
treeabda89a6a0507f0a04b4f0d2623b4738eb384f05 /indra/newview/llsearchcombobox.cpp
parent740f1cd2c7229520f7765a7a7d37ea0baf563a81 (diff)
Fixed low bug EXT-5329 (Delete option is enabled in context menu for empty edit field in IM floater)
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llsearchcombobox.cpp')
-rw-r--r--indra/newview/llsearchcombobox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llsearchcombobox.cpp b/indra/newview/llsearchcombobox.cpp
index 93a70b6471..a130878176 100644
--- a/indra/newview/llsearchcombobox.cpp
+++ b/indra/newview/llsearchcombobox.cpp
@@ -78,6 +78,7 @@ LLSearchComboBox::LLSearchComboBox(const Params&p)
button_params.click_callback.function(boost::bind(&LLSearchComboBox::onSelectionCommit, this));
mSearchButton = LLUICtrlFactory::create<LLButton>(button_params);
mTextEntry->addChild(mSearchButton);
+ mTextEntry->setPassDelete(TRUE);
setButtonVisible(p.dropdown_button_visible);
mTextEntry->setCommitCallback(boost::bind(&LLComboBox::onTextCommit, this, _2));