MAINT-8459 Save favorite places and landmarks to Location Bar history list

meow-7.2.2
maxim_productengine 2018-05-25 18:00:57 +03:00
parent 86ffcca293
commit fadb6c7c65
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}