summaryrefslogtreecommitdiff
path: root/indra/newview/llcofwearables.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-06-04 14:26:08 -0700
committerRichard Nelson <none@none>2010-06-04 14:26:08 -0700
commit1be76eccdfed4d02f7ff8e34a29528887dd8d26c (patch)
tree0f1ef59f9ff5986dbd6ce8ab117c66f92b4205bc /indra/newview/llcofwearables.cpp
parent46e1253ee11cd2aca41314ec4e9c053bddd7a0b4 (diff)
parent05d7addde73511d303f9203d0dc007ebb2e5b299 (diff)
merge
Diffstat (limited to 'indra/newview/llcofwearables.cpp')
-rw-r--r--indra/newview/llcofwearables.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llcofwearables.cpp b/indra/newview/llcofwearables.cpp
index 79ce2f8f6b..7ac3d14c72 100644
--- a/indra/newview/llcofwearables.cpp
+++ b/indra/newview/llcofwearables.cpp
@@ -387,7 +387,13 @@ LLPanelClothingListItem* LLCOFWearables::buildClothingListItem(LLViewerInventory
item_panel->childSetAction("btn_edit", mCOFCallbacks.mEditWearable);
//turning on gray separator line for the last item in the items group of the same wearable type
- item_panel->childSetVisible("wearable_type_separator_panel", last);
+ if (last)
+ {
+ LLRect rect = item_panel->getRect();
+ item_panel->reshape(rect.getWidth(), rect.getHeight() +
+ item_panel->getChild<LLView>("wearable_type_separator_icon")->getRect().getHeight());
+ item_panel->childSetVisible("wearable_type_separator_icon", true);
+ }
return item_panel;
}