void LLInventoryView::draw()
{
	if (mActivePanel && mFilterEditor)
	{
		mFilterEditor->setText(mActivePanel->getFilterSubString());
	}

	if (mActivePanel && mQuickFilterCombo)
	{
		refreshQuickFilter( mQuickFilterCombo );
	}
		
	if (mActivePanel && mResortActivePanel)
	{
		// EXP-756: Force resorting of the list the first time we draw the list: 
		// In the case of date sorting, we don't have enough information at initialization time
		// to correctly sort the folders. Later manual resort doesn't do anything as the order value is 
		// set correctly. The workaround is to reset the order to alphabetical (or anything) then to the correct order.
		U32 order = mActivePanel->getSortOrder();
		mActivePanel->setSortOrder(LLInventoryFilter::SO_NAME);
		mActivePanel->setSortOrder(order);
		mResortActivePanel = false;
	}
	
	updateItemcountText();
	LLFloater::draw();
}
void LLInventoryView::changed(U32 mask)
{
	// Singu note: only if there's a change we're interested in.
	if ((mask & (LLInventoryObserver::ADD | LLInventoryObserver::REMOVE)) != 0)
	{
		updateItemcountText();
	}
}
Exemplo n.º 3
0
// virtual
void LLPanelMainInventory::draw()
{
	if (mActivePanel && mFilterEditor)
	{
		mFilterEditor->setText(mFilterSubString);
	}	
	LLPanel::draw();
	updateItemcountText();
}
void LLInventoryView::changed(U32 mask)
{
	updateItemcountText();
}
Exemplo n.º 5
0
// virtual
void LLPanelMainInventory::changed(U32)
{
	updateItemcountText();
}