Actually use mask in LLInventoryView::changed

This commit is contained in:
Aleric Inglewood
2013-07-19 21:20:21 +02:00
parent 95a228b2e9
commit 1fdb36cc40

View File

@@ -817,7 +817,11 @@ BOOL LLInventoryView::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
void LLInventoryView::changed(U32 mask)
{
updateItemcountText();
// Singu note: only if there's a change we're interested in.
if ((mask & (LLInventoryObserver::ADD | LLInventoryObserver::REMOVE)) != 0)
{
updateItemcountText();
}
}
void LLInventoryView::draw()