MAINT-8085 done right

master
Ansariel 2018-01-17 13:31:26 +01:00
parent 15c62d9e71
commit 2269a9f074
3 changed files with 8 additions and 1 deletions

View File

@ -218,6 +218,7 @@ Ansariel Hiller
MAINT-7899
STORM-2105
STORM-2151
MAINT-8085
Aralara Rajal
Arare Chantilly
CHUIBUG-191

View File

@ -32,6 +32,7 @@
#include "llinventoryitemslist.h"
#include "llinventorymodel.h"
#include "llviewerinventory.h"
#include "lltrans.h"
LLFilteredWearableListManager::LLFilteredWearableListManager(LLInventoryItemsList* list, LLInventoryCollectFunctor* collector)
@ -118,6 +119,11 @@ void LLFilteredWearableListManager::populateList()
// Probably will also need to get items from Library (waiting for reply in EXT-6724).
if (item_array.empty() && gInventory.isCategoryComplete(gInventory.getRootFolderID()))
{
mWearableList->setNoItemsCommentText(LLTrans::getString("NoneFound"));
}
mWearableList->refreshList(item_array);
}

View File

@ -645,7 +645,7 @@ LLWearableItemsList::LLWearableItemsList(const LLWearableItemsList::Params& p)
setRightMouseDownCallback(boost::bind(&LLWearableItemsList::onRightClick, this, _2, _3));
}
mWornIndicationEnabled = p.worn_indication_enabled;
setNoItemsCommentText(LLTrans::getString("NoneFound"));
setNoItemsCommentText(LLTrans::getString("LoadingData"));
}
// virtual