summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-05-25 18:00:57 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-05-25 18:00:57 +0300
commitfadb6c7c65f4d531f513d5d896ca25b9bb22b48f (patch)
tree4f39cc284fb85dcd578a4dee85322ecb953f43a4 /indra/newview
parent86ffcca29392b79d553ace9403bbf628fbefe3d0 (diff)
MAINT-8459 Save favorite places and landmarks to Location Bar history list
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llnavigationbar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp
index 84a2cd8be1..cfe2e6bf6a 100644
--- a/indra/newview/llnavigationbar.cpp
+++ b/indra/newview/llnavigationbar.cpp
@@ -443,6 +443,7 @@ void LLNavigationBar::onLocationSelection()
{
gAgent.teleportViaLandmark( LLUUID(value["AssetUUID"].asString()));
+ mSaveToLocationHistory = true;
return;
}
else
@@ -453,6 +454,7 @@ void LLNavigationBar::onLocationSelection()
if (!landmark_items.empty())
{
gAgent.teleportViaLandmark( landmark_items[0]->getAssetUUID());
+ mSaveToLocationHistory = true;
return;
}
}