Fix careless mistake breaking item properties floater

This commit is contained in:
Liru Færs
2019-11-16 12:34:36 -05:00
parent 89abfe6f86
commit d93bed216a

View File

@@ -86,9 +86,12 @@ void LLNameBox::initFromXML(LLXMLNodePtr node, LLView* parent)
node->getAttributeString("initial_value", mInitialValue);
setText(mInitialValue);
node->getAttribute_bool("rlv_sensitive", mRLVSensitive);
bool is_group;
node->getAttribute_bool("is_group", is_group);
setIsGroup(is_group);
if (node->hasAttribute("is_group"))
{
bool is_group;
node->getAttribute_bool("is_group", is_group);
setIsGroup(is_group);
}
}
// static