diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-07-17 11:29:44 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-07-17 11:32:52 +0300 |
commit | af3ef42d40e7b5eb2a9ba0b45ed74bbf7aa18656 (patch) | |
tree | 29060338756c240e11702c6ee4eb7b67524b755f /indra/newview/llfloaterworldmap.cpp | |
parent | 7a33f2279be82e32acd6e25245026dc305b1ed2b (diff) | |
parent | 6e186befad1eafd091a38c9e4d6b58cc09926e57 (diff) |
Merge branch 'develop' into gltf_mesh_import
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rwxr-xr-x | indra/newview/llfloaterworldmap.cpp | 9 |
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 { |