Fix crash and generaly wrong duplicate attribute name

NameUI "type" is now "id_type"
Thanks for the help, Router!
This commit is contained in:
Liru Færs
2020-01-07 06:19:05 -05:00
parent 77b6a903ac
commit 463151c830
5 changed files with 5 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ LLXMLNodePtr LLNameBox::getXML(bool save_children) const
LLView* LLNameBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
{
S8 type = AVATAR;
node->getAttributeS8("type", type);
node->getAttributeS8("id_type", type);
LLUUID id;
node->getAttributeUUID("id", id);
std::string loading;