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

@@ -137,7 +137,7 @@ LLView* LLNameEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory
S32 max_text_length = 1024;
node->getAttributeS32("max_length", max_text_length);
S8 type = AVATAR;
node->getAttributeS8("type", type);
node->getAttributeS8("id_type", type);
LLUUID id;
node->getAttributeUUID("id", id);
std::string loading;