summaryrefslogtreecommitdiff
path: root/indra/llui/llcombobox.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-09-25 21:35:20 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-09-25 22:46:10 +0300
commit49a2c136f99cf90abc94f1ce84d3c6f2be2815d0 (patch)
treed8f9f05a1b69cae953dcfb8377ac9fd5e4f0fb7b /indra/llui/llcombobox.cpp
parent37f539bdbbd83f4ceabd88b0038fd9dc1980ca32 (diff)
viewer#2646 Fix viewer ignoring Physics Shape Type changes
asStringRef is only valid for strings
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r--indra/llui/llcombobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp
index a1c16ccdec..f3876ef695 100644
--- a/indra/llui/llcombobox.cpp
+++ b/indra/llui/llcombobox.cpp
@@ -365,7 +365,7 @@ void LLComboBox::setValue(const LLSD& value)
if (LLScrollListItem* item = mList->getFirstSelected())
{
LLSD item_value = item->getValue();
- if (item_value.asStringRef() == value.asStringRef())
+ if (item_value.asString() == value.asString())
return;
}