From 539b6410fabf5b5f690adeeba7576d0d7269e7ca Mon Sep 17 00:00:00 2001 From: Shyotl Date: Thu, 12 Jul 2012 16:09:42 -0500 Subject: [PATCH] Brought back the inventory item count display after loading has completed. --- indra/newview/llpanelmaininventory.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index d2cbb0ca2..097d0fda6 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -858,12 +858,15 @@ void LLInventoryView::updateItemcountText() { std::ostringstream title; title << "Inventory"; - if (LLInventoryModelBackgroundFetch::instance().folderFetchActive()) + if (LLInventoryModelBackgroundFetch::instance().folderFetchActive() || LLInventoryModelBackgroundFetch::instance().isEverythingFetched()) { LLLocale locale(LLLocale::USER_LOCALE); std::string item_count_string; LLResMgr::getInstance()->getIntegerString(item_count_string, gInventory.getItemCount()); - title << " (Fetched " << item_count_string << " items...)"; + if(LLInventoryModelBackgroundFetch::instance().folderFetchActive()) + title << " (Fetched " << item_count_string << " items...)"; + else + title << " ("<< item_count_string << " items)"; } title << mFilterText; setTitle(title.str());