#2471 The Destinations ComboBox on Login Screen... (quick fix)
parent
2fc8d5ff3c
commit
f1e0fc68e7
|
|
@ -521,12 +521,16 @@ bool LLComboBox::setCurrentByIndex(S32 index)
|
|||
if (item->getEnabled())
|
||||
{
|
||||
mList->selectItem(item, -1, true);
|
||||
LLSD::String label = item->getColumn(0)->getValue().asString();
|
||||
if (mTextEntry)
|
||||
{
|
||||
LLSD::String label = item->getColumn(0)->getValue().asString();
|
||||
mTextEntry->setText(label);
|
||||
mTextEntry->setTentative(false);
|
||||
}
|
||||
if (!mAllowTextEntry)
|
||||
{
|
||||
mButton->setLabel(label);
|
||||
}
|
||||
mLastSelectedIndex = index;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue