summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-07-18 13:59:39 +0800
committerErik Kundiman <erik@megapahit.org>2025-07-18 13:59:39 +0800
commit50755dcf5f6d4c70c6b6815b2467dda61dc4dc5a (patch)
tree4db99c2b48408390dfffe6b39261311002c5e3ec /indra/newview/llfloaterworldmap.cpp
parent6daacd94d1f53e53417ac24f05b983a2600a964f (diff)
parentf5d350fb7bd51735ab2624262e841d614c6eadd8 (diff)
Merge tag 'Second_Life_Release#f5d350fb-2025.05-gltf-mesh-import' into 2025.05
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rwxr-xr-xindra/newview/llfloaterworldmap.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index c70058145a..565642e683 100755
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -1694,14 +1694,15 @@ void LLFloaterWorldMap::updateSims(bool found_null_sim)
if (!match.isUndefined())
{
mSearchResults->selectByValue(match);
+ mSearchResults->setFocus(true);
+ onCommitSearchResult();
}
- // else select first found item
+ // else let user decide
else
{
- mSearchResults->selectFirstItem();
+ mSearchResults->operateOnAll(LLCtrlListInterface::OP_DESELECT);
+ mSearchResults->setFocus(true);
}
- mSearchResults->setFocus(true);
- onCommitSearchResult();
}
else
{