diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-03-01 14:59:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-01 14:59:15 -0500 |
| commit | ea79f8f613754926bc074e44b5f0c12f49821ca6 (patch) | |
| tree | b9b589229d7aeb259c322bde7833c467d142be59 /indra/newview/llfloaterworldmap.cpp | |
| parent | 20dfc94c5d0955003b0758cd0a1965140068973c (diff) | |
| parent | 3dc945c1df2a8961363528df0e383519c9d63d1f (diff) | |
Merge pull request #3624 from secondlife/rider/map_beacon
https://github.com/secondlife/viewer-private/issues/297 Local beacons via script
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
| -rwxr-xr-x | indra/newview/llfloaterworldmap.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index 30ed723db6..a798ba31ee 100755 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -486,8 +486,11 @@ void LLFloaterWorldMap::onOpen(const LLSD& key) const LLUUID landmark_folder_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_LANDMARK); LLInventoryModelBackgroundFetch::instance().start(landmark_folder_id); - mLocationEditor->setFocus( true); - gFocusMgr.triggerFocusFlash(); + if (hasFocus()) + { + mLocationEditor->setFocus( true); + gFocusMgr.triggerFocusFlash(); + } buildAvatarIDList(); buildLandmarkIDLists(); |
