summaryrefslogtreecommitdiff
path: root/indra/newview/llnavigationbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnavigationbar.cpp')
-rw-r--r--indra/newview/llnavigationbar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp
index df43b069c8..b4a6e63de8 100644
--- a/indra/newview/llnavigationbar.cpp
+++ b/indra/newview/llnavigationbar.cpp
@@ -415,7 +415,10 @@ void LLNavigationBar::onRegionNameResponse(
S32 selected_item = mCmbLocation->getCurrentIndex();
if (selected_item == -1) // user has typed text
{
+ LLLocationHistory* lh = LLLocationHistory::getInstance();
mCmbLocation->add(typed_location);
+ lh->addItem(typed_location);
+ lh->save();
}
// Teleport to the location.