summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-09-04 16:31:39 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-09-04 17:46:19 +0200
commitf1e0fc68e78d732ff433bb83c0c894ed23bbf3b2 (patch)
tree6d8186b21996c895ce48a347fc4a548e1ab206f9 /indra
parent2fc8d5ff3cfa1b9ad00b310cd4a6cdb557b9415c (diff)
#2471 The Destinations ComboBox on Login Screen... (quick fix)
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llcombobox.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp
index b64794a244..a1c16ccdec 100644
--- a/indra/llui/llcombobox.cpp
+++ b/indra/llui/llcombobox.cpp
@@ -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;
}