summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-23 14:29:07 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-23 14:38:32 +0200
commit7b7667973b3ecaa857f1013c8084f3159105eec1 (patch)
tree66fb3dcb2b2e870cbe1312a17c78961d127db10e
parentf534e37328e7408b1609c9b78d13c6c749091e53 (diff)
DRTVWR-513 Resolved merge conflict from merge with DRTVWR-507
See changes from SL-13119 and SL-13190
-rw-r--r--indra/llui/llfolderviewmodel.cpp10
-rw-r--r--indra/newview/skins/default/xui/en/menu_wearable_list_item.xml8
2 files changed, 0 insertions, 18 deletions
diff --git a/indra/llui/llfolderviewmodel.cpp b/indra/llui/llfolderviewmodel.cpp
index e95cc12520..a028a32704 100644
--- a/indra/llui/llfolderviewmodel.cpp
+++ b/indra/llui/llfolderviewmodel.cpp
@@ -88,16 +88,6 @@ void LLFolderViewModelItemCommon::dirtyDescendantsFilter()
//virtual
void LLFolderViewModelItemCommon::addChild(LLFolderViewModelItem* child)
{
- // Avoid duplicates: bail out if that child is already present in the list
- // Note: this happens when models are created before views
- child_list_t::const_iterator iter;
- for (iter = mChildren.begin(); iter != mChildren.end(); iter++)
- {
- if (child == *iter)
- {
- return;
- }
- }
mChildren.push_back(child);
child->setParent(this);
dirtyFilter();
diff --git a/indra/newview/skins/default/xui/en/menu_wearable_list_item.xml b/indra/newview/skins/default/xui/en/menu_wearable_list_item.xml
index 46b8b042d5..20c81c983b 100644
--- a/indra/newview/skins/default/xui/en/menu_wearable_list_item.xml
+++ b/indra/newview/skins/default/xui/en/menu_wearable_list_item.xml
@@ -72,14 +72,6 @@
function="Clothing.TakeOff" />
</menu_item_call>
<menu_item_call
- label="Edit"
- layout="topleft"
- visible="false"
- name="edit">
- <on_click
- function="Wearable.Edit" />
- </menu_item_call>
- <menu_item_call
label="Item Profile"
layout="topleft"
visible="false"