summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-27 19:17:23 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-27 20:58:32 +0200
commitbe3810d559741deb500fde68948874bc6f10610e (patch)
tree834aa5f21161f53b4f01f265006816bb547f9770 /indra
parent6686fc2a523681ae3e34708e62e18731a89e0dc1 (diff)
#1937 The "Don't show me in search" option is not visually updated
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelprofile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp
index be10cace9c..fe172c8726 100644
--- a/indra/newview/llpanelprofile.cpp
+++ b/indra/newview/llpanelprofile.cpp
@@ -1028,7 +1028,7 @@ void LLPanelProfileSecondLife::fillCommonData(const LLAvatarData* avatar_data)
if (getSelfProfile())
{
mAllowPublish = avatar_data->flags & AVATAR_ALLOW_PUBLISH;
- mShowInSearchCombo->setValue(mAllowPublish);
+ mShowInSearchCombo->setValue(mAllowPublish ? LLSD::Integer(1) : LLSD::Integer(0));
}
}