CHUI-101 WIP Make LLFolderView general purpose
all inventory names are correctly initialized nowmeow-7.2.2
parent
74092930af
commit
5b6db72c5b
|
|
@ -1844,14 +1844,17 @@ void LLFolderBridge::buildDisplayName() const
|
|||
|
||||
//"Accessories" inventory category has folder type FT_NONE. So, this folder
|
||||
//can not be detected as protected with LLFolderType::lookupIsProtectedType
|
||||
mDisplayName.assign(getName());
|
||||
if (accessories || LLFolderType::lookupIsProtectedType(preferred_type))
|
||||
{
|
||||
LLTrans::findString(mDisplayName, std::string("InvFolder ") + getName(), LLSD());
|
||||
}
|
||||
else
|
||||
{
|
||||
mDisplayName.assign(getName());
|
||||
}
|
||||
|
||||
//if (mDisplayName.empty())
|
||||
//{
|
||||
// S32 foo;
|
||||
// foo = 0;
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue