diff options
author | Andrew Polunin <apolunin@productengine.com> | 2009-11-19 19:51:47 +0200 |
---|---|---|
committer | Andrew Polunin <apolunin@productengine.com> | 2009-11-19 19:51:47 +0200 |
commit | 9b9c11778cd5d71f3b238ca5bd5b69e118d97be9 (patch) | |
tree | 78a3ea91cc6a30fbc458cbe585cd3f54b85460c5 /indra/newview/llpanellandmarkinfo.cpp | |
parent | 910f25a32ce1d287788b0c184a530c2c450391fa (diff) |
fixed minor bug EXT-1615 Landmark name is truncated before @ character after placing landmark on Favorites Bar
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanellandmarkinfo.cpp')
-rw-r--r-- | indra/newview/llpanellandmarkinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanellandmarkinfo.cpp b/indra/newview/llpanellandmarkinfo.cpp index f94a59ecef..5de7c3f851 100644 --- a/indra/newview/llpanellandmarkinfo.cpp +++ b/indra/newview/llpanellandmarkinfo.cpp @@ -352,6 +352,8 @@ void LLPanelLandmarkInfo::createLandmark(const LLUUID& folder_id) } LLStringUtil::replaceChar(desc, '\n', ' '); + LLViewerInventoryItem::insertDefaultSortField(name); + // If no folder chosen use the "Landmarks" folder. LLLandmarkActions::createLandmarkHere(name, desc, folder_id.notNull() ? folder_id : gInventory.findCategoryUUIDForType(LLFolderType::FT_LANDMARK)); |