summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitedit.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-07-19 09:13:05 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-07-19 09:13:05 +0100
commitf1c9e56e93329b532a11ff5522dd3bcc5f7bbae1 (patch)
tree277dc5b477cad2804b5bcfc0ab091a4378ea5b0b /indra/newview/llpaneloutfitedit.cpp
parentb73ef2f338804f542cf7cc87a834462ee541e4c3 (diff)
parentc7549513974bdf8028824135bd017c7ea390ea77 (diff)
merge from PE's viewer-public
Diffstat (limited to 'indra/newview/llpaneloutfitedit.cpp')
-rw-r--r--indra/newview/llpaneloutfitedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp
index 5b2b7e0ffc..6d9465d422 100644
--- a/indra/newview/llpaneloutfitedit.cpp
+++ b/indra/newview/llpaneloutfitedit.cpp
@@ -746,11 +746,11 @@ void LLPanelOutfitEdit::onAddWearableClicked(void)
}
}
-void LLPanelOutfitEdit::onReplaceBodyPartMenuItemClicked(LLUUID selected_item_id)
+void LLPanelOutfitEdit::onReplaceMenuItemClicked(LLUUID selected_item_id)
{
LLViewerInventoryItem* item = gInventory.getLinkedItem(selected_item_id);
- if (item && item->getType() == LLAssetType::AT_BODYPART)
+ if (item)
{
showFilteredWearablesListView(item->getWearableType());
}