Fix linux build, for the millionth time... is there a record?

Thanks for the help, damian
This commit is contained in:
Liru Færs
2019-10-22 01:55:06 -04:00
parent afbafbe689
commit 3fa4f73b6f

View File

@@ -205,7 +205,7 @@ LLView* LLComboBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *
const auto text = combo_box->acceptsTextInput();
std::string label;
if (node->getAttributeString("label", label))
text ? combo_box->setLabel(label) : combo_box->mList->selectItemByLabel(label, FALSE);
text ? combo_box->setLabel(label) : (void)combo_box->mList->selectItemByLabel(label, FALSE);
else if (!text && combo_box->mLabel.empty())
combo_box->selectFirstItem();
}