summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitedit.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-05 13:31:19 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-05 13:31:19 +0100
commit84d073ad34443b5cdc213b380d7ceb9ef2f66600 (patch)
treedbb88f7e20c6964e33b58f98081214850d9a99d4 /indra/newview/llpaneloutfitedit.cpp
parent476f5e064ea327b1e3426ba2efb5971ced8ba9b0 (diff)
fix a merge conflict I forgot to commit earlier.
Diffstat (limited to 'indra/newview/llpaneloutfitedit.cpp')
-rw-r--r--indra/newview/llpaneloutfitedit.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp
index 0e9b3516ea..8b88a848cf 100644
--- a/indra/newview/llpaneloutfitedit.cpp
+++ b/indra/newview/llpaneloutfitedit.cpp
@@ -1321,7 +1321,15 @@ void LLPanelOutfitEdit::getSelectedItemsUUID(uuid_vec_t& uuid_list)
void LLPanelOutfitEdit::onCOFChanged()
{
+ //the panel is only updated when is visible to a user
+
+ // BAP - this check has to be removed because otherwise item name
+ // changes made when the panel is not visible will not be
+ // propagated to the panel.
+ // if (!isInVisibleChain()) return;
+
update();
+}
void LLPanelOutfitEdit::updateWearablesPanelVerbButtons()
{
@@ -1347,11 +1355,6 @@ void LLPanelOutfitEdit::saveListSelection()
if(!selected_ids.size()) return;
- // BAP - this check has to be removed because otherwise item name
- // changes made when the panel is not visible will not be
- // propagated to the panel.
- // if (!isInVisibleChain()) return;
-
for (std::set<LLUUID>::const_iterator item_id = selected_ids.begin(); item_id != selected_ids.end(); ++item_id)
{
mWearableItemsList->selectItemByUUID(*item_id, true);